---
id: CVE-2026-104726
title: >-
  Name Directory <= 1.34.2 - Authenticated (Contributor+) Stored Cross-Site
  Scripting via 'dir' Shortcode Attribute
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'
cvssSource: cna
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-16T08:27:42.514Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-104726'
references:
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/6ea92622-60df-43ab-a106-56b769964a75?source=cve
  - url: >-
      https://plugins.trac.wordpress.org/browser/name-directory/tags/1.34.3/shortcode.php#L344
  - url: >-
      https://plugins.trac.wordpress.org/browser/name-directory/tags/1.34.3/shortcode.php#L284
  - url: >-
      https://plugins.trac.wordpress.org/changeset?reponame=&old=3723785%40name-directory&new=3723785%40name-directory
tags:
  - cve.org
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.

## Affected

- `name_directory <= 1.34.2`

## Remediation

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