BlogSafe.org

WordPress CVEs

Search and review WordPress-related vulnerability records.

← Back to CVE list

CVE-2026-1866

HIGH 7.2 CVSS 3.1
Published
February 10, 2026
Last modified
June 17, 2026
NVD status
Deferred
Reported by
security@wordfence.com
Weakness
CWE-79
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

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.

Affected WordPress components

A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.

Affected products and versions

  • jeroenpeters1986 Name Directory — Up to and including 1.32.0

References

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