Patchfirst
CVE-2025-2505 Public exploit Critical · 9.8 EPSS 4.9%

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

No fixed version listed yet.Check the vendor advisory. References ↓

philsbury · Age Gate

Summary

The Age Gate WordPress plugin, versions up to and including 3.5.3, contains a local PHP file inclusion flaw in its handling of the 'lang' parameter, caused by improper limitation of pathnames to a restricted directory. An unauthenticated remote attacker can exploit this over the network without user interaction to include and execute arbitrary PHP files on the server, which can bypass access controls, expose sensitive data, or lead to code execution where uploaded images or other "safe" file types can be included.

Official description · CVE.org

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.

Breakdown
65.3 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 1 day before it was disclosed.

  1. First seen exploitedVulnCheck KEV evidence1 day before
  2. Disclosedday 0

Affected versions and fixes

as published in the CVE record

philsbury Age Gate

Affected: <= 3.5.3

References

3 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close