{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "2.8.206"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "95a04f7639643259af66724495d1da5a4a65f9aa"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "95a04f7639643259af66724495d1da5a4a65f9aa"
            }
          ],
          "repo": "https://github.com/ayecode/geodirectory",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Wordfence",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/131xxx/CVE-2026-131866.json"
  },
  "details": "The GeoDirectory – WP Business Directory Plugin and Classified Listings Directory plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'post_content' parameter in all versions up to, and including, 2.8.206 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. An entity-encoded payload nested inside kses-allowed tags such as \u0026lt;div\u0026gt;, \u0026lt;span\u0026gt;, or \u0026lt;a data-*\u0026gt; survives wp_kses_post on save because kses treats the encoded content as plain text; the save handler additionally re-pins the listing to its existing published status and writes directly to the parent listing ID, ensuring the injected content is immediately and permanently publicly visible without re-approval.",
  "id": "CVE-2026-131866",
  "modified": "2026-12-01T20:45:42.381445454Z",
  "published": "2026-11-26T12:35:28.310Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.203/assets/aui/js/geodirectory.js#L1188"
    },
    {
      "type": "WEB",
      "url": "https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.203/assets/aui/js/geodirectory.js#L1234"
    },
    {
      "type": "WEB",
      "url": "https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.203/includes/class-geodir-ajax.php#L834"
    },
    {
      "type": "WEB",
      "url": "https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.203/includes/class-geodir-post-data.php#L1587"
    },
    {
      "type": "WEB",
      "url": "https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.203/includes/class-geodir-post-data.php#L1732"
    },
    {
      "type": "WEB",
      "url": "https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.203/includes/custom-fields/output-functions.php#L1945"
    },
    {
      "type": "WEB",
      "url": "https://plugins.trac.wordpress.org/changeset/3809491/geodirectory/trunk/assets/aui/js/geodirectory.js"
    },
    {
      "type": "WEB",
      "url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/80fa0dc7-86d1-4e54-b67a-0c1fbdb47b43?source=cve"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/131xxx/CVE-2026-131866.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-131866"
    },
    {
      "type": "FIX",
      "url": "https://github.com/AyeCode/geodirectory/commit/95a04f7639643259af66724495d1da5a4a65f9aa"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "GeoDirectory \u003c= 2.8.206 - Authenticated (Subscriber+) Stored DOM-Based Cross-Site Scripting via 'post_content' Parameter via Business Hours Markup"
}