Atomic Edge analysis of CVE-2026-3178:
The root cause is insufficient input sanitization and output escaping for the ‘name_directory_name’ parameter. The vulnerability exists in the plugin’s public submission form handling. User-supplied input for the ‘name’ field is processed by the `name_directory_deep_sanitize_public_user_input` function in `name-directory/helpers.php`. The function’s pre-patch logic applies `wp_kses` to raw input after `wp_unslash`. However, it fails to decode HTML entities before sanitization. This allows an attacker to submit a payload containing HTML-encoded characters (e.g., `

Published : March 18, 2026
CVE-2026-3178: Name Directory <= 1.32.1 Unauthenticated Stored Cross-Site Scripting via 'name_directory_name' PoC, Patch Analysis & Rule
CVE ID
CVE-2026-3178
Plugin
name-directory
Severity
High
(CVSS 7.2)
CWE
79
Vulnerable Version
1.32.1
Patched Version
1.33.0
Disclosed
March 9, 2026
