Directorist: AI-Powered Business Directory, Listings & Classified Ads <= 8.11.3 - Authenticated (Subscriber+) Stored Cross-Site Scripting via File Upload Field
- ID
- WPSEC-2026-3720
- Plugin
- Directorist: AI-Powered Business Directory, Listings & Classified Ads (directorist)
- Affected
- all versions before 8.12
- Remediation
- Update to 8.12 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-23
- Attack surface
- Directorist: AI-Powered Business Directory, Listings & Classified Ads on WPSec AttackSurface
- Fix released
- Published
Description
The Directorist plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the listing File Upload field in all versions up to, and including, 8.11.3. This is due to insufficient validation of the submitted file URL and attachment ID values, which are only processed with sanitize_text_field, and to the file preview script inserting them without escaping into the src and data attributes of the preview markup. 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, including an administrator, opens the listing's edit form on the front end or in wp-admin.
References
- https://wpsec.com/vuln/WPSEC-2026-3720/
- https://plugins.svn.wordpress.org/directorist/tags/8.12/
- https://wordpress.org/plugins/directorist/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS