GHSA-4HW4-42XH-J7Q2
Vulnerability from github – Published: 2026-11-26 15:31 – Updated: 2026-11-26 15:31The 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 <div>, <span>, or <a data-*> 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.
{
"affected": [],
"aliases": [
"CVE-2026-131866"
],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-26T13:16:40Z",
"severity": "MODERATE"
},
"details": "The GeoDirectory \u2013 WP Business Directory Plugin and Classified Listings Directory plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the \u0027post_content\u0027 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": "GHSA-4hw4-42xh-j7q2",
"modified": "2026-11-26T15:31:28Z",
"published": "2026-11-26T15:31:28Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-131866"
},
{
"type": "WEB",
"url": "https://github.com/AyeCode/geodirectory/commit/95a04f7639643259af66724495d1da5a4a65f9aa"
},
{
"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"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
}
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.