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_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.
Configurations

No configuration.

History

15 Apr 2026, 00:35

Type Values Removed Values Added
Summary
  • (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.

10 Feb 2026, 10:15

Type Values Removed Values Added
New CVE

Information

Published : 2026-02-10 10:15

Updated : 2026-04-15 00:35


NVD link : CVE-2026-1866

Mitre link : CVE-2026-1866

CVE.ORG link : CVE-2026-1866


JSON object : View

Products Affected

No product.

CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')