---
id: CVE-2026-104726
title: >-
  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
summary: >-
  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 pos…
severity: medium
cvss: 6.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: jeroenpeters1986
product: Name Directory
affected:
  - name_directory <= 1.34.2
published: '2026-10-16'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T15:17:03.353'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-104726'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/name-directory/tags/1.34.3/shortcode.php#L284
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/name-directory/tags/1.34.3/shortcode.php#L344
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?reponame=&old=3723785%40name-directory&new=3723785%40name-directory
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/6ea92622-60df-43ab-a106-56b769964a75?source=cve
    label: security@wordfence.com
tags:
  - nvd
  - cve.org
epss: 0.00188
epssPercentile: 0.08479
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-16T14:33:33.184206Z'
ingestedAt: '2026-10-16T09:03:22.689Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
