CVE-2025-2505
CRITICAL
9.8
CVSS 3.1
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 WordPress components
-
Age Gate Plugin · age-gateUp to and including 3.5.3View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- philsbury Age Gate — Up to and including 3.5.3
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/age-gate/trunk/vendor/agegate/common/src/Settings.php#L27
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3258075/
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/d6ac2996-098f-474c-b44e-78d5af7b503a?source=cve
- nvd.nist.gov Official NVD record