Skip to main content
Mallory
CriticalVulnerability

CVE-2025-2505: Unauthenticated Local PHP File Inclusion in WordPress Age Gate

Published Mar 20, 2025 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS4.9%92nd percentile
CISA KEVNoNot listed
In the wildReported1 exploitation record in Mallory
IdentifiersCVE-2025-2505CWE-98

Age Gate for WordPress through version 3.5.3 contains a local PHP file inclusion vulnerability in its handling of the lang parameter. An unauthenticated attacker can cause the plugin to include arbitrary PHP files resident on the server and execute code contained in those files. The issue may enable access-control bypass, disclosure of sensitive data, or code execution when attacker-controlled content, including files accepted as ostensibly safe types, can be uploaded and subsequently included.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can bypass access controls, expose sensitive data, and execute PHP code contained in included server-side files. Code execution is possible where an attacker can arrange for a file containing executable PHP to be uploaded and included.

Mitigation

If you can’t patch tonight, do this now.

Until remediation is applied, disable the plugin or block access to the vulnerable functionality. Apply a strict allowlist for accepted language values at the application or web application firewall layer if operationally feasible. Reduce the likelihood of code execution by preventing uploads of executable content, hardening upload validation, disabling execution in upload-accessible directories, and enforcing least-privilege filesystem permissions for the web server account. Monitor for anomalous requests targeting the lang parameter and for unexpected inclusion-related errors or execution behavior.

Remediation

Patch, then assume compromise.

Update the Age Gate plugin to a version newer than 3.5.3 if a vendor fix is available. If no patched release is available, remove or disable the vulnerable plugin. Review and correct the code path handling the lang parameter so that it cannot influence filesystem inclusion of arbitrary local resources; language selection should be restricted to a fixed allowlist of expected values mapped to known-safe files. Validate and canonicalize input, avoid dynamic include operations based on user input, and ensure included resources are non-executable data where possible. Review the server for unauthorized uploaded content and rotate secrets if compromise is suspected.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
FAQ

Frequently asked questions

Is CVE-2025-2505 exploited in the wild?
Yes. As of Sep 30, 2026, Mallory has reports of exploitation in the wild.
Is there a public exploit for CVE-2025-2505?
As of Sep 30, 2026, Mallory has found no public exploit for CVE-2025-2505.
Is there a patch for CVE-2025-2505?
Update the Age Gate plugin to a version newer than 3.5.3 if a vendor fix is available. If no patched release is available, remove or disable the vulnerable plugin.
How severe is CVE-2025-2505?
CVE-2025-2505 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 4.9% (92nd percentile) as of Sep 30, 2026.
Activity feed

Recent activity

3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity1Community discussion across Reddit, Mastodon, and other social sources.