CVE-2026-1866
The Name Directory plugin for WordPress is vulnerable to Stored …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- plugins.trac.wordpress.org/browser/name-directory/tags/1.31.0/helpers.php#L604
- plugins.trac.wordpress.org/browser/name-directory/tags/1.31.0/shortcode.php#L193
- plugins.trac.wordpress.org/browser/name-directory/tags/1.31.0/shortcode.php#L41
- plugins.trac.wordpress.org/changeset/3455023/name-directory/trunk?contextall=1&old=3446566
- www.wordfence.com/threat-intel/vulnerabilities/id/29d13457-ac60-4e3d-9d8b-0141e6f8f4f6?sou
- nvd.nist.gov/vuln/detail/CVE-2026-1866
- cve.org/CVERecord?id=CVE-2026-1866
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.