{
 "id": "WPSEC-2026-2867",
 "url": "https://wpsec.com/vuln/WPSEC-2026-2867/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-2867/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-2867/index.md",
 "title": "Age Gate <= 3.7.3 - Authenticated (Contributor+) Local File Inclusion via Shortcode",
 "description": "The Age Gate plugin for WordPress is vulnerable to Local File Inclusion via the 'type' attribute of the age-gate shortcode in all versions up to, and including, 3.7.3, due to the attribute value being concatenated into a template include path without validation or restriction to the allowed input types. This makes it possible for authenticated attackers, with contributor-level access and above, to use directory traversal sequences to include and execute arbitrary .php files on the server. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where .php files can be uploaded or already exist on the server.",
 "plugin": {
  "slug": "age-gate",
  "name": "Age Gate",
  "full_name": "Age Gate",
  "wordpress_org": "https://wordpress.org/plugins/age-gate/",
  "advisories_url": "https://wpsec.com/vuln/plugin/age-gate/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/age-gate"
 },
 "type": "LFI",
 "cwe": [
  "CWE-98"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 8.8,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
  "severity": "High"
 },
 "affected": {
  "ranges": [
   {
    "from": "3.0.0",
    "from_inclusive": true,
    "to": "3.8.0",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 3.0.0 before 3.8.0"
  ]
 },
 "introduced_in": "3.0.0",
 "fixed_in": "3.8.0",
 "remediation": "Update to 3.8.0 or later.",
 "fix_released": "2026-11-10T20:52:07+00:00",
 "published": "2026-11-12T17:52:14+00:00",
 "updated": "2026-11-12T17:07:34.212564+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-2867/",
  "https://plugins.svn.wordpress.org/age-gate/tags/3.8.0/",
  "https://wordpress.org/plugins/age-gate/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/age-gate",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-11-12"
 }
}