Vulnerabilities / Name Directory / WPSEC-2026-0355

Name Directory <= 1.34.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'dir' Shortcode Attribute

Medium 6.4 CWE-79Fixed in 1.34.3
ID
WPSEC-2026-0355
Plugin
Name Directory (name-directory)
Affected
from 1.25.0 before 1.34.3
Remediation
Update to 1.34.3 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-10-22
Attack surface
Name Directory on WPSec AttackSurface
Fix released
Published

Also published later by Wordfence as CVE-2026-104726, on 2026-10-15.

Description

The Name Directory plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'dir' attribute of the plugin's namedirectory shortcode in versions 1.25.0 up to, and including, 1.34.2 due to the attribute value being echoed without escaping into a single-quoted HTML attribute of the directory's anchor element. 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.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0