CVE-2025-2505 Age Gate <= 3.5.3 - Unauthenticated Local PHP File Inclusion via 'lang'
Unauthenticated attackers can include and execute arbitrary PHP files via the 'lang' parameter, leading to code execution and data disclosure.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-2505?
CVE-2025-2505 is a critical path traversal vulnerability in philsbury Age Gate, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-22
Which versions are affected by CVE-2025-2505?
How do I fix CVE-2025-2505?
No fix has been published for CVE-2025-2505 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2025-2505 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-2505 exists.
Public exploit code: 1 Nuclei template.
Sources
Also known as GHSA-gv93-97pw-jv67.