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: 2026-02-10
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting (XSS)
Action: Apply Patch
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Tue, 10 Feb 2026 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 10 Feb 2026 12:45:00 +0000

Type Values Removed Values Added
First Time appeared Jeroenpeters1986
Jeroenpeters1986 name Directory
Wordpress
Wordpress wordpress
Vendors & Products Jeroenpeters1986
Jeroenpeters1986 name Directory
Wordpress
Wordpress wordpress

Tue, 10 Feb 2026 09:45:00 +0000

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'}


Subscriptions

Jeroenpeters1986 Name Directory
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T16:43:23.138Z

Reserved: 2026-02-03T21:37:47.348Z

Link: CVE-2026-1866

cve-icon Vulnrichment

Updated: 2026-02-10T15:27:10.810Z

cve-icon NVD

Status : Deferred

Published: 2026-02-10T10:15:57.717

Modified: 2026-04-15T00:35:42.020

Link: CVE-2026-1866

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-15T21:30:13Z

Weaknesses