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

- **ID:** WPSEC-2026-4410
- **Plugin:** Directorist: AI-Powered Business Directory, Listings & Classified Ads (`directorist`), https://wordpress.org/plugins/directorist/
- **Affected versions:** from 7.3.0 before 8.12.3
- **Fixed in:** 8.12.3 (Update to 8.12.3 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-12-03)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/directorist
- **Fix released:** 2026-12-02
- **Published:** 2026-12-03
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4410/

## Description

The Directorist plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the listing description submitted through the front-end listing form in versions 7.3.0 up to, and including, 8.12.2. This is due to the description being filtered only with wp_kses_post, which permits arbitrary class and data-* attributes. A submitter can add elements that carry the plugin's map and slider widget classes (such as directorist-single-map or directorist-swiper-listing) together with their own widget configuration, and the plugin's front-end JavaScript then processes these elements and inserts configuration values such as the map marker icon into the page as HTML. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in single listing pages that will execute whenever a user accesses an injected page. If the site permits guest listing submission, unauthenticated attackers may also be able to exploit this.

## References

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

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

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.
