XSS in Jeroenpeters1986 Name Directory
CVE-2026-1866
The Name Directory plugin for WordPress is vulnerable to Stored Cross-Site Scripting via double HTML-entity encoding in all versions up to, and including, 1.32.0. This is due to the plugin's sanitization function calling `html_entity_decode()` before `wp_kses()`, and then calling `html_entity_decode()` again on output. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page via the 'name_directory_name' and 'name_directory_description' parameters in the public submission form granted they can trick the site administrator into approving their submission or auto-publish is enabled.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.003 (17.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N.
Affected products
- Jeroenpeters1986 Name Directory — versions 0
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-1866?
- CVE-2026-1866 is a high-severity vulnerability in Jeroenpeters1986 Name Directory, classified under Cross-site Scripting. CVSS score: 7.2/10. Published 2026-02-10.
- How severe is CVE-2026-1866?
- High severity. CVSS v3 base score is 7.2 out of 10.