7.2high
Name Directory <= 1.32.0 - Unauthenticated Stored Cross-Site Scripting via Double HTML-Entity Encoding in Submission Form
- Severity
- 7.2high CVSS:3.1 by Wordfence
- Exploit likelihood
- 0.30% (higher than 25% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Wordfence
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| jeroenpeters1986 Name Directory | up to 1.32.0 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-1866 changed 2026-04-08 | CVE Terms of Use |
| NVD | CVE-2026-1866 changed 2026-06-17 | Public domain |