{"id":"CVE-2026-1866","aliases":["CVE-2026-1866"],"related":[],"kind":"vulnerability","state":"published","title":"Name Directory <= 1.32.0 - Unauthenticated Stored Cross-Site Scripting via Double HTML-Entity Encoding in Submission Form","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"El plugin Name Directory para WordPress es vulnerable a cross-site scripting almacenado a través de una codificación de doble entidad HTML en todas las versiones hasta e incluyendo la 1.32.0. Esto se debe a que la función de saneamiento del plugin llama a `html_entity_decode()` antes de `wp_kses()`, y luego vuelve a llamar a `html_entity_decode()` en la salida. Esto hace posible que atacantes no autenticados inyecten scripts web arbitrarios en páginas que se ejecutarán cada vez que un usuario acceda a una página inyectada a través de los parámetros 'name_directory_name' y 'name_directory_description' en el formulario de envío público, siempre que puedan engañar al administrador del sitio para que apruebe su envío o la publicación automática esté habilitada.","source":"nvd"}],"published":"2026-02-10T09:26:05.323Z","modified":"2026-06-17T10:16:38.103Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","score":7.2,"rating":"HIGH"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","score":7.2,"rating":"HIGH"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"1.32.0","status":"affected"}],"vendor":"jeroenpeters1986","product":"Name Directory","source":"cvelist"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/29d13457-ac60-4e3d-9d8b-0141e6f8f4f6?source=cve","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/name-directory/tags/1.31.0/helpers.php#L604","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/name-directory/tags/1.31.0/shortcode.php#L193","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/name-directory/tags/1.31.0/shortcode.php#L41","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset/3455023/name-directory/trunk?contextall=1&old=3446566&old_path=%2Fname-directory%2Ftrunk#file3","tags":[],"sources":["cvelist","nvd"]}],"credits":["Duy Thai"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-02-10T15:26:47.740Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-1866","url":"https://www.cve.org/CVERecord?id=CVE-2026-1866","licence":"CVE Terms of Use","modified":"2026-04-08T16:43:23.138Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-1866","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-1866","licence":"Public domain","modified":"2026-06-17T10:16:38.103Z"}],"updatedAt":"2026-11-25T22:59:13.702Z","epss":{"score":0.00304,"percentile":0.25025,"date":"2026-12-01T12:00:22.000Z"}}