CVE-2025-2505

Age Gate <= 3.5.3 - Unauthenticated Local PHP File Inclusion via 'lang'

criticalImproper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
9.8
CVSS Score
9.8
CVSS Score
critical
Severity
3.5.4
Patched in
1d
Time to patch

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.

CVSS Vector Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
High
Confidentiality
High
Integrity
High
Availability

Technical Details

Affected versions<=3.5.3
PublishedMarch 19, 2025
Last updatedMarch 20, 2025
Affected pluginage-gate

Check if your site is affected.

Run a free security audit to detect vulnerable plugins, outdated versions, and misconfigurations.