CVE-2025-2505: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in philsbury Age Gate
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.
AI Analysis
Technical Summary
CVE-2025-2505 is a critical vulnerability in the philsbury Age Gate WordPress plugin (up to version 3.5.3) involving improper limitation of a pathname to a restricted directory (CWE-22). The vulnerability arises from insufficient validation of the 'lang' parameter, enabling local PHP file inclusion. This allows unauthenticated attackers to include and execute arbitrary PHP files on the server, potentially leading to code execution, access control bypass, and data exposure. The CVSS v3.1 base score is 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H). No patch or vendor advisory is currently available.
Potential Impact
Successful exploitation allows unauthenticated attackers to execute arbitrary PHP code on the affected server, bypass access controls, and access sensitive data. The impact includes full confidentiality, integrity, and availability compromise of the affected system. This represents a critical security risk for websites using the vulnerable plugin versions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, consider disabling or removing the Age Gate plugin to prevent exploitation. Monitor for vendor updates and apply patches promptly once available.
CVE-2025-2505: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in philsbury Age Gate
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-2505 is a critical vulnerability in the philsbury Age Gate WordPress plugin (up to version 3.5.3) involving improper limitation of a pathname to a restricted directory (CWE-22). The vulnerability arises from insufficient validation of the 'lang' parameter, enabling local PHP file inclusion. This allows unauthenticated attackers to include and execute arbitrary PHP files on the server, potentially leading to code execution, access control bypass, and data exposure. The CVSS v3.1 base score is 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H). No patch or vendor advisory is currently available.
Potential Impact
Successful exploitation allows unauthenticated attackers to execute arbitrary PHP code on the affected server, bypass access controls, and access sensitive data. The impact includes full confidentiality, integrity, and availability compromise of the affected system. This represents a critical security risk for websites using the vulnerable plugin versions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, consider disabling or removing the Age Gate plugin to prevent exploitation. Monitor for vendor updates and apply patches promptly once available.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-03-18T17:08:25.933Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6b23b7ef31ef0b54e822
Added to database: 2/25/2026, 9:35:31 PM
Last enriched: 4/9/2026, 10:09:14 AM
Last updated: 4/12/2026, 8:45:55 AM
Views: 23
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.