LiveActive security incident?Get immediate response
CVE Record

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

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.

HighCVSS 7.2Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2026-1866 affects the WordPress Name Directory plugin up to 1.32.0. An outside visitor can submit content that may become stored script on the site. It executes when someone views the affected directory page, especially if submissions are auto-published or an administrator approves the malicious entry.

Executive priority

Prioritize remediation for public-facing WordPress sites using this plugin. Treat as high urgency where submissions are public or auto-approved. Sites without the plugin are not exposed based on the provided sources.

Technical view

The flaw is stored cross-site scripting in Name Directory submission fields. The plugin decodes HTML entities before wp_kses() and decodes again on output, allowing double-encoded script content to survive sanitization. Reported parameters are name_directory_name and name_directory_description. CVSS is 7.2, network exploitable, unauthenticated, with changed scope.

Likely exposure

Exposure is limited to WordPress sites running Name Directory versions up to and including 1.32.0, especially where public submissions are enabled. Risk increases if auto-publish is enabled or administrators routinely approve submitted directory entries.

Exploitation context

Sources do not indicate active exploitation, and the CVE is not in KEV. Exploitation depends on getting a malicious submission displayed: either auto-publication or administrator approval. The business impact is site-user compromise, admin-session risk, and reputational damage from script execution on trusted pages.

Researcher notes

The CVE description and Wordfence identify affected versions through 1.32.0. Public code references show the sanitization and output paths, and a WordPress Trac changeset appears related. The structured affected metadata is sparse, so validate fixed-version status from the plugin repository.

Mitigation direction

  • Identify WordPress sites using the Name Directory plugin.
  • Update Name Directory beyond 1.32.0 if a fixed release is available.
  • If no fixed release is available, follow vendor guidance.
  • Disable public submissions or auto-publish until remediated.
  • Review and moderate pending and approved directory submissions.

Validation and detection

  • Confirm installed Name Directory version on each WordPress site.
  • Check whether public submission forms are enabled.
  • Check whether submitted entries are auto-published.
  • Review approved submissions for unexpected encoded HTML or script-like content.
  • Verify remediation against the WordPress plugin changelog or referenced changeset.
Prepared
Confidence
high
Sources
7

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-1866 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.2 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
5Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.2CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N3.92.7Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.2High
CVSS 3.1 vector shape for CVE-2026-1866Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
jeroenpeters1986Name Directory0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-79 · source CWE mapping

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

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.