Description
The Name Directory plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'dir' Shortcode Attribute in all versions up to, and including, 1.34.2 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Published: 2026-10-16
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Patch
AI Analysis

Impact

The vulnerability is a stored cross‑site scripting flaw in the Name Directory plugin for WordPress. All releases up to version 1.34.2 accept user input for the ‘dir’ shortcode attribute without proper sanitization or escaping, allowing an authenticated contributor or higher to embed arbitrary JavaScript that is stored in the database and executed whenever a page containing the shortcode is rendered.

Affected Systems

The WordPress plugin Name Directory by user jeroenpeters1986, versions 1.34.2 and earlier, is affected. No other vendors or product versions are listed as vulnerable.

Risk and Exploitability

The CVSS score of 6.4 indicates a moderate threat. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog, meaning no confirmed widespread exploitation is known. The attacker must be authenticated with contributor-level access or higher, which limits the attack surface but still represents a risk to sites that grant such permissions. The flaw can be exploited by creating or editing content that includes the malicious shortcode, leading to script execution for users who view the affected pages.

Generated by OpenCVE AI on October 16, 2026 at 13:38 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Name Directory plugin to version 1.34.3 or later, where the vulnerable shortcode handling is fixed.
  • Apply the principle of least privilege: limit contributor-level access to trusted users only and consider removing contributor permissions from users who do not require content‑editing rights.
  • If an update cannot be applied immediately, deactivate the Name Directory plugin or stop using the ‘dir’ shortcode until the component is patched.

Generated by OpenCVE AI on October 16, 2026 at 13:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 16 Oct 2026 08:45:00 +0000

Type Values Removed Values Added
Description The Name Directory plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'dir' Shortcode Attribute in all versions up to, and including, 1.34.2 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Title Name Directory <= 1.34.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'dir' Shortcode Attribute
Weaknesses CWE-79
References
Metrics cvssV3_1

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-10-16T08:27:42.514Z

Reserved: 2026-10-02T11:45:44.290Z

Link: CVE-2026-104726

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-16T09:17:03.980

Modified: 2026-10-16T09:17:03.980

Link: CVE-2026-104726

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-16T13:23:09Z

Weaknesses
  • CWE-79

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