CVE-2026-1866CWE-79

Name Directory <= 1.32.0 - Unauthenticated Stored Cross-Site Scripting via Double HTML-Entity Encoding in Submission Form

High · published February 10, 2026

CVSS v3.1
7.2
EPSS
0%
Percentile
21.3
In the wild
Unconfirmed
What it is

⚡ Double HTML-entity encoding is the sneaky trick in the Name Directory plugin for WordPress that allows unauthenticated attackers to inject malicious scripts! 🔥 Think of it like a restaurant where the chef keeps accepting orders without verifying the ingredients — even if someone asks for a dish that includes something dangerous, it goes right out to the customers! That's what's happening here with those injected scripts. If exploited, an attacker could unleash arbitrary scripts that run in users' browsers, potentially stealing sensitive information or compromising their sessions. It's like allowing a stranger to slip a note into a customer's meal — who knows what they might write? This could lead to a wave of misinformation or worse among your users!

Put simply

Think of it like a restaurant where the chef keeps accepting orders without verifying the ingredients — even if someone asks for a dish that includes something dangerous, it goes right out to the customers! That's what's happening here with those injected scripts. This vulnerability arises because the Name Directory plugin's sanitization function calls `html_entity_decode()` before `wp_kses()`, and then again on output, creating a loophole for attackers to inject malicious web scripts through user-submitted content.

What to do

If exploited, an attacker could unleash arbitrary scripts that run in users' browsers, potentially stealing sensitive information or compromising their sessions. It's like allowing a stranger to slip a note into a customer's meal — who knows what they might write? This could lead to a wave of misinformation or worse among your users! To protect your site, update the Name Directory plugin to version 1.32.1 or later immediately. Additionally, consider implementing stricter content moderation practices to ensure only safe submissions are approved. You've got this! Follow these steps, and your site will be back on the path to safety in no time! 🛡️

The record
Technical detail
CVSS v3.1
7.2 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00298 · 21.3th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-02-10T09:26Z
EPSS history
Timeline
  • 10 FEB 09:26Z
    Name Directory <= 1.32.0 - Unauthenticated Stored Cross-Site Scripting via Double HTML-Entity Encoding in Submission Form
    cvelistv5