Home

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.

PUBLISHED Reserved 2026-02-03 | Published 2026-02-10 | Updated 2026-02-10 | Assigner Wordfence




HIGH: 7.2CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Problem types

CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Product status

Default status
unaffected

* (semver)
affected

Timeline

2026-02-03:Vendor Notified
2026-02-09:Disclosed

Credits

Duy Thai finder

References

www.wordfence.com/...-ac60-4e3d-9d8b-0141e6f8f4f6?source=cve

plugins.trac.wordpress.org/...ectory/tags/1.31.0/helpers.php

plugins.trac.wordpress.org/...tory/tags/1.31.0/shortcode.php

plugins.trac.wordpress.org/...tory/tags/1.31.0/shortcode.php

plugins.trac.wordpress.org/...path=%2Fname-directory%2Ftrunk

cve.org (CVE-2026-1866)

nvd.nist.gov (CVE-2026-1866)

Download JSON