CVE-2025-2505
WordPress vulnerability analysis and mitigation

Overview

The Age Gate plugin for WordPress contains a critical Local PHP File Inclusion vulnerability (CVE-2025-2505) discovered in all versions up to and including 3.5.3. The vulnerability was disclosed on March 20, 2025, affecting over 40,000 WordPress websites. This security flaw allows unauthenticated attackers to include and execute arbitrary PHP files on the server through the 'lang' parameter (NVD, SecurityOnline).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 9.8 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The flaw is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory - Path Traversal). The vulnerability exists in the plugin's handling of the 'lang' parameter, which fails to properly validate file paths, allowing attackers to include and execute arbitrary PHP files on the server (NVD).

Impact

The vulnerability can lead to severe consequences including bypass of access controls, extraction of sensitive data, and potential code execution when attackers can upload and include files that appear safe (like images). In cases where file upload capabilities exist, attackers could achieve full server compromise by establishing persistent backdoors and exploiting web server configuration weaknesses to escalate privileges (SecurityOnline).

Mitigation and workarounds

The developers have released a patched version (3.5.4) that resolves the security flaw. Website administrators and WordPress users are strongly urged to update their Age Gate plugin immediately to mitigate the risk (SecurityOnline).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management