{"id":"CVE-2026-1866","state":"PUBLISHED","title":"Name Directory <= 1.32.0 - Unauthenticated Stored Cross-Site Scripting via Double HTML-Entity Encoding in Submission Form","description":"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_name' and 'name_directory_description' parameters in the public submission form granted they can trick the site administrator into approving their submission or auto-publish is enabled.","publishedAt":"2026-02-10T09:26:05.323Z","updatedAt":"2026-04-08T16:43:23.138Z","severity":{"score":7.2,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","source":"Wordfence"},"assigner":"Wordfence","products":["jeroenpeters1986 Name Directory"],"affected":[{"vendor":"jeroenpeters1986","product":"Name Directory","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.32.0","versionType":"semver"}]}],"references":["https://www.wordfence.com/threat-intel/vulnerabilities/id/29d13457-ac60-4e3d-9d8b-0141e6f8f4f6?source=cve","https://plugins.trac.wordpress.org/browser/name-directory/tags/1.31.0/helpers.php#L604","https://plugins.trac.wordpress.org/browser/name-directory/tags/1.31.0/shortcode.php#L193","https://plugins.trac.wordpress.org/browser/name-directory/tags/1.31.0/shortcode.php#L41","https://plugins.trac.wordpress.org/changeset/3455023/name-directory/trunk?contextall=1&old=3446566&old_path=%2Fname-directory%2Ftrunk#file3"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:11:10.572Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/1xxx/CVE-2026-1866.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-1866","state":"PUBLISHED","datePublished":"2026-02-10T09:26:05.323Z","dateUpdated":"2026-04-08T16:43:23.138Z","assignerShortName":"Wordfence","assignerOrgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","dateReserved":"2026-02-03T21:37:47.348Z"},"containers":{"cna":{"title":"Name Directory <= 1.32.0 - Unauthenticated Stored Cross-Site Scripting via Double HTML-Entity Encoding in Submission Form","descriptions":[{"lang":"en","value":"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_name' and 'name_directory_description' parameters in the public submission form granted they can trick the site administrator into approving their submission or auto-publish is enabled."}],"affected":[{"vendor":"jeroenpeters1986","product":"Name Directory","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.32.0","versionType":"semver"}]}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/29d13457-ac60-4e3d-9d8b-0141e6f8f4f6?source=cve"},{"url":"https://plugins.trac.wordpress.org/browser/name-directory/tags/1.31.0/helpers.php#L604"},{"url":"https://plugins.trac.wordpress.org/browser/name-directory/tags/1.31.0/shortcode.php#L193"},{"url":"https://plugins.trac.wordpress.org/browser/name-directory/tags/1.31.0/shortcode.php#L41"},{"url":"https://plugins.trac.wordpress.org/changeset/3455023/name-directory/trunk?contextall=1&old=3446566&old_path=%2Fname-directory%2Ftrunk#file3"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","baseScore":7.2,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"Wordfence","orgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","dateUpdated":"2026-04-08T16:43:23.138Z"},"credits":[{"lang":"en","type":"finder","value":"Duy Thai"}],"timeline":[{"time":"2026-02-03T11:25:01.000Z","lang":"en","value":"Vendor Notified"},{"time":"2026-02-09T20:45:53.000Z","lang":"en","value":"Disclosed"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-02-10T15:26:47.740578Z","id":"CVE-2026-1866","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-10T15:27:37.315Z"}}]}}}