{"id":"CVE-2025-2505","published":"2025-03-20T07:29:57Z","modified":"2026-04-08T17:26:25Z","title":"Age Gate <= 3.5.3 - Unauthenticated Local PHP File Inclusion via 'lang'","vendor":"philsbury","product":"Age Gate","tier":"core","eol":null,"affectedVersions":[{"vendor":"philsbury","product":"Age Gate","versions":["<= 3.5.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2025-03-20T14:50:58.482195Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"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.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T07:19:02Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.04884,"percentile":0.92273,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2025-03-19","exploitedFirstSeen":"2025-03-19","ransomware":false,"evidence":[{"url":"https://patchstack.com/database/wordpress/plugin/age-gate/vulnerability/wordpress-age-gate-plugin-3-5-3-unauthenticated-local-php-file-inclusion-via-lang-vulnerability","date":"2025-03-19"},{"url":"https://previdian.com/CVE-2025-2505","date":"2026-08-11"}],"evidenceTotal":2,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/d6ac2996-098f-474c-b44e-78d5af7b503a?source=cve","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/age-gate/trunk/vendor/agegate/common/src/Settings.php#L27","tags":[]},{"url":"https://plugins.trac.wordpress.org/changeset/3258075/","tags":[]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2025-6740","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-6740","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"nuclei":[{"id":"CVE-2025-2505","name":"WordPress Age Gate <= 3.5.3 - Unauthenticated Local File Inclusion","severity":"critical","path":"http/cves/2025/CVE-2025-2505.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-2505.yaml"}],"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2025-03-19","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://patchstack.com/database/wordpress/plugin/age-gate/vulnerability/wordpress-age-gate-plugin-3-5-3-unauthenticated-local-php-file-inclusion-via-lang-vulnerability","provenance":"source"},{"date":"2025-03-20","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2025-2505","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":65.3,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 612 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":18.45,"detail":"percentile 0.9227"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}