Description
The Age Gate plugin for WordPress is vulnerable to Local PHP File Inclusion in all versions up to, and including, 3.5.3 via the 'lang' parameter. This makes it possible for unauthenticated attackers to include and execute arbitrary PHP files on the server, allowing the execution of code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| philsbury | Age Gate | ≤ 3.5.3 | — |
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- WordPress Age Gate <= 3.5.3 - Unauthenticated Local File Inclusion http/cves/2025/CVE-2025-2505.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.