# Directorist: AI-Powered Business Directory, Listings & Classified Ads <= 8.11.3 - Authenticated (Subscriber+) Stored Cross-Site Scripting via Address Elements in Listing Description

- **ID:** WPSEC-2026-3721
- **Plugin:** Directorist: AI-Powered Business Directory, Listings & Classified Ads (`directorist`), https://wordpress.org/plugins/directorist/
- **Affected versions:** all versions before 8.12
- **Fixed in:** 8.12 (Update to 8.12 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-11-23)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/directorist
- **Fix released:** 2026-11-22
- **Published:** 2026-11-23
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3721/

## Description

The Directorist plugin for WordPress is vulnerable to DOM-based Stored Cross-Site Scripting via address elements in the listing description in all versions up to, and including, 8.11.3. This is due to the single listing Google Maps script reading the decoded text of every <address> element on the page and writing it back as raw HTML when it turns the element into a map link. The WP Editor description field, which is the default, keeps <address> elements and HTML entities. This makes it possible for authenticated attackers with subscriber-level access or higher who can submit listings to inject arbitrary web scripts that run whenever a user views the affected single listing page while Google Maps is the map provider.

## References

- https://wpsec.com/vuln/WPSEC-2026-3721/
- https://plugins.svn.wordpress.org/directorist/tags/8.12/
- https://wordpress.org/plugins/directorist/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3721/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
