cve-2025-2505
CRITICAL CVSS 9.8 opencve
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.
Timeline
- Published
- 2025-03-20 08:15 UTC
- Last Modified
- 2026-06-17
CVSS Details
CVSS details not available.
Affected Products
No product information available.
Weaknesses (CWE)
CVSS metrics
| Version | Base | Severity | Vector | Exploitability | Impact | Source |
|---|---|---|---|---|---|---|
| 3.1 | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
mitre | ||
| 3.1 | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
nvd | ||
| 3.1 | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
opencve |
References
No references available.
Linked Vulnerabilities
No linked vulnerabilities found.
{
"advisories": [
{
"id": "EUVD-2025-6740",
"source": "euvd",
"title": "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.",
"url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-6740"
}
],
"cve": "CVE-2025-2505",
"enrichment": {
"created": "2025-07-12T15:42:39.692029+00:00",
"updated": "2026-08-04T19:15:03.941002+00:00",
"vendors": [
"wordpress",
"wordpress$PRODUCT$wordpress"
]
},
"epss": {
"score": 0.04884
},
"mitre": {
"cpes": [],
"created": "2025-03-20T07:29:57.851000+00:00",
"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.",
"metrics": {
"cvssV2_0": {},
"cvssV3_0": {},
"cvssV3_1": {
"score": 9.8,
"vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"cvssV4_0": {}
},
"mitre_repo_path": "cves/2025/2xxx/CVE-2025-2505.json",
"references": [
"https://plugins.trac.wordpress.org/browser/age-gate/trunk/vendor/agegate/common/src/Settings.php#L27",
"https://plugins.trac.wordpress.org/changeset/3258075/",
"https://www.wordfence.com/threat-intel/vulnerabilities/id/d6ac2996-098f-474c-b44e-78d5af7b503a?source=cve"
],
"title": "Age Gate <= 3.5.3 - Unauthenticated Local PHP File Inclusion via 'lang'",
"updated": "2026-04-08T17:26:25.280000+00:00",
"vendors": [],
"weaknesses": [
"CWE-22"
]
},
"nvd": {
"cpes": [],
"created": "2025-03-20T08:15:11.873000+00:00",
"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.",
"metrics": {
"cvssV2_0": {},
"cvssV3_0": {},
"cvssV3_1": {
"score": 9.8,
"vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"cvssV4_0": {}
},
"nvd_repo_path": "2025/CVE-2025-2505.json",
"references": [
"https://plugins.trac.wordpress.org/browser/age-gate/trunk/vendor/agegate/common/src/Settings.php#L27",
"https://plugins.trac.wordpress.org/changeset/3258075/",
"https://www.wordfence.com/threat-intel/vulnerabilities/id/d6ac2996-098f-474c-b44e-78d5af7b503a?source=cve"
],
"title": null,
"updated": "2026-06-17T09:07:04.790000+00:00",
"vendors": [],
"weaknesses": [
"CWE-22"
]
},
"opencve": {
"changes": [
{
"created": "2025-03-20T07:45:00+00:00",
"data": [
{
"details": {
"new": "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.",
"old": null
},
"type": "description"
},
{
"details": {
"new": "Age Gate <= 3.5.3 - Unauthenticated Local PHP File Inclusion via 'lang'",
"old": null
},
"type": "title"
},
{
"details": {
"added": [
"CWE-22"
],
"removed": []
},
"type": "weaknesses"
},
{
"details": {
"added": [
"https://plugins.trac.wordpress.org/browser/age-gate/trunk/vendor/agegate/common/src/Settings.php#L27",
"https://plugins.trac.wordpress.org/changeset/3258075/",
"https://www.wordfence.com/threat-intel/vulnerabilities/id/d6ac2996-098f-474c-b44e-78d5af7b503a?source=cve"
],
"removed": []
},
"type": "references"
},
{
"details": {
"added": {
"cvssV3_1": {
"score": 9.8,
"vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
},
"removed": {},
"updated": {}
},
"type": "metrics"
}
],
"id": "672e307a-aac4-4d7c-be92-7f0c46c3e281"
},
{
"created": "2025-03-20T15:15:00+00:00",
"data": [
{
"details": {
"added": {
"ssvc": {
"options": {
"Automatable": "yes",
"Exploitation": "none",
"Technical Impact": "total"
},
"version": "2.0.3"
}
},
"removed": {},
"updated": {}
},
"type": "metrics"
}
],
"id": "fbe028a6-4648-44f4-90c8-830090a50044"
}
],
"cpes": {
"data": [],
"providers": []
},
"created": {
"data": "2025-03-20T07:29:57.851000+00:00",
"provider": "mitre"
},
"description": {
"data": "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.",
"provider": "mitre"
},
"metrics": {
"cvssV2_0": {
"data": {},
"provider": null
},
"cvssV3_0": {
"data": {},
"provider": null
},
"cvssV3_1": {
"data": {
"score": 9.8,
"vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"provider": "mitre"
},
"cvssV4_0": {
"data": {},
"provider": null
},
"epss": {
"data": {
"score": 0.04884
},
"provider": "first"
},
"kev": {
"data": {},
"provider": null
},
"ssvc": {
"data": {
"options": {
"Automatable": "yes",
"Exploitation": "none",
"Technical Impact": "total"
},
"version": "2.0.3"
},
"provider": "vulnrichment"
},
"threat_severity": {
"data": null,
"provider": null
}
},
"references": {
"data": [
"https://plugins.trac.wordpress.org/browser/age-gate/trunk/vendor/agegate/common/src/Settings.php#L27",
"https://plugins.trac.wordpress.org/changeset/3258075/",
"https://www.wordfence.com/threat-intel/vulnerabilities/id/d6ac2996-098f-474c-b44e-78d5af7b503a?source=cve"
],
"providers": [
"mitre",
"nvd"
]
},
"title": {
"data": "Age Gate <= 3.5.3 - Unauthenticated Local PHP File Inclusion via 'lang'",
"provider": "mitre"
},
"updated": {
"data": "2026-04-20T23:45:21.600225+00:00",
"provider": "enrichment"
},
"vendors": {
"data": [
"wordpress",
"wordpress$PRODUCT$wordpress"
],
"providers": [
"enrichment"
]
},
"weaknesses": {
"data": [
"CWE-22"
],
"providers": [
"mitre",
"nvd"
]
}
},
"vulnrichment": {
"cpes": [],
"created": "2025-03-20T07:29:57.851000+00:00",
"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.",
"metrics": {
"cvssV2_0": {},
"cvssV3_0": {},
"cvssV3_1": {},
"cvssV4_0": {},
"kev": {},
"ssvc": {
"options": {
"Automatable": "yes",
"Exploitation": "none",
"Technical Impact": "total"
},
"version": "2.0.3"
}
},
"references": [],
"title": "Age Gate <= 3.5.3 - Unauthenticated Local PHP File Inclusion via 'lang'",
"updated": "2025-03-20T14:51:20.387000+00:00",
"vendors": [],
"vulnrichment_repo_path": "2025/2xxx/CVE-2025-2505.json",
"weaknesses": []
}
}
Enrichment data
Aggregated bundle (all enrichments)