CVE Explorer
CVE-2026-1866
The Name Directory plugin for WordPress is vulnerable to Stored Cross-Site Scripting via double HTML-entity encoding in all versions up to, and including, 1.32.0. This is due to the plugin's sanitization function calling `html_entity_decode()` before `wp_kses()`, and then calling `html_entity_decode()` again on output. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page via the 'name_directory_n
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"Name Directory","vendor":"jeroenpeters1986","versions":[{"lessThanOrEqual":"1.32.0","status":"affected","version":"0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:9f97ed91da66b9226fce3c6587c864e57964585ca844b913178818584593ffa7 · sha256:60d83ac02c47f062… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"baseScore":7.2,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:9f97ed91da66b9226fce3c6587c864e57964585ca844b913178818584593ffa7 · sha256:60d83ac02c47f062… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:9f97ed91da66b9226fce3c6587c864e57964585ca844b913178818584593ffa7 · sha256:60d83ac02c47f062… · /containers/cna/problemTypes/0/descriptions/0
Source references
5 source assertions{"url":"https://plugins.trac.wordpress.org/browser/name-directory/tags/1.31.0/helpers.php#L604"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:9f97ed91da66b9226fce3c6587c864e57964585ca844b913178818584593ffa7 · sha256:60d83ac02c47f062… · /containers/cna/references/1
{"url":"https://plugins.trac.wordpress.org/browser/name-directory/tags/1.31.0/shortcode.php#L193"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:9f97ed91da66b9226fce3c6587c864e57964585ca844b913178818584593ffa7 · sha256:60d83ac02c47f062… · /containers/cna/references/2
{"url":"https://plugins.trac.wordpress.org/browser/name-directory/tags/1.31.0/shortcode.php#L41"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:9f97ed91da66b9226fce3c6587c864e57964585ca844b913178818584593ffa7 · sha256:60d83ac02c47f062… · /containers/cna/references/3
{"url":"https://plugins.trac.wordpress.org/changeset/3455023/name-directory/trunk?contextall=1&old=3446566&old_path=%2Fname-directory%2Ftrunk#file3"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:9f97ed91da66b9226fce3c6587c864e57964585ca844b913178818584593ffa7 · sha256:60d83ac02c47f062… · /containers/cna/references/4
{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/29d13457-ac60-4e3d-9d8b-0141e6f8f4f6?source=cve"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:9f97ed91da66b9226fce3c6587c864e57964585ca844b913178818584593ffa7 · sha256:60d83ac02c47f062… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.