CVE-2026-1866

Name Directory <= 1.32.0 - Unauthenticated Stored Cross-Site Scripting via Double HTML-Entity Encoding in Submission Form

Published Feb 10, 2026 CVSS 3.1 · 7.2 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Name Directory WordPress plugin allows unauthenticated attackers to embed malicious scripts in plug‑in stored data by double‑encoding HTML entities during sanitization and re‑decoding them on output. The flaw turns user input in the public submission form into executable code when a page containing the stored data is viewed, enabling session hijacking, malware delivery, or defacement.

Affected Systems

WordPress sites running any release of the Name Directory plugin up to and including 1.32.0, developed by jeroenpeters1986. The vulnerability applies to every instance where the public submission form is enabled and the name_directory_name and name_directory_description fields are processed.

Risk and Exploitability

With a CVSS score of 7.2 the flaw poses a moderate‑to‑high risk. The EPSS score is below 1 %, indicating a low but non‑zero exploitation probability. The vulnerability is not listed in the CISA KEV catalog. Attackers can exploit the flaw only when a submission is publicly available—either when auto‑publication is enabled or when an administrator approves a malicious entry. Thus, the attack vector is local to the community of site administrators who grant publication privileges to public submissions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Name Directory plugin to a version newer than 1.32.0 that removes the double html_entity_decode sanitization sequence.
  • If an update cannot be applied immediately, disable the auto‑publish setting and enforce manual approval of all new submissions until the plugin is patched.
  • During the transition period, remove or restrict public access to the name_directory_name and name_directory_description input fields in the submission form to prevent new stored XSS payloads from being added.

Generated by OpenCVE AI on April 15, 2026 at 21:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Jeroenpeters1986
Jeroenpeters1986 name Directory
Wordpress
Wordpress wordpress
Vendors & Products Jeroenpeters1986
Jeroenpeters1986 name Directory
Wordpress
Wordpress wordpress
Type Values Removed Values Added
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.
Title Name Directory <= 1.32.0 - Unauthenticated Stored Cross-Site Scripting via Double HTML-Entity Encoding in Submission Form
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 4:43 PM
Reserved
Feb 3, 2026, 9:37 PM
Status
Deferred
Published
Feb 10, 2026, 10:15 AM
Modified
Jun 17, 2026, 10:16 AM