# CVE-2026-1866: Name Directory <= 1.32.0 - Unauthenticated Stored Cross-Site Scripting via Double HTML-Entity Encoding in Submission Form

- Severity: High 7.2 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-02-10T09:26:05.323Z
- Modified: 2026-06-17T10:16:38.103Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Wordfence

## Description

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.

(As written by CVE List.)

## Affected

- jeroenpeters1986 Name Directory: up to 1.32.0

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/29d13457-ac60-4e3d-9d8b-0141e6f8f4f6?source=cve>
- <https://plugins.trac.wordpress.org/browser/name-directory/tags/1.31.0/helpers.php#L604>
- <https://plugins.trac.wordpress.org/browser/name-directory/tags/1.31.0/shortcode.php#L193>
- <https://plugins.trac.wordpress.org/browser/name-directory/tags/1.31.0/shortcode.php#L41>
- <https://plugins.trac.wordpress.org/changeset/3455023/name-directory/trunk?contextall=1&old=3446566&old_path=%2Fname-directory%2Ftrunk#file3>

## Sources

- CVE List: [CVE-2026-1866](https://www.cve.org/CVERecord?id=CVE-2026-1866), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2026-1866](https://nvd.nist.gov/vuln/detail/CVE-2026-1866), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-1866 · Whole record: https://cve.day/CVE-2026-1866.json · Rebuilt by cve.day 2026-11-25T22:59:13.702Z
