CVE-2026-6405
JSON

4.3medium

Anomify AI <= 0.3.6 - Cross-Site Request Forgery

Severity
4.3medium CVSS:3.1 by Wordfence
Exploit likelihood
0.17% (higher than 6% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Wordfence

Description

The Anomify AI – Anomaly Detection and Alerting plugin for WordPress is vulnerable to Cross-Site Request Forgery (CSRF) leading to Stored Cross-Site Scripting (XSS) in versions up to and including 0.3.6. This is due to missing nonce verification on the settings page handler and insufficient output escaping in the admin_options.php template. The settings form includes no wp_nonce_field() and the handler performs no check_admin_referer() check, meaning any cross-origin POST can modify plugin settings. The API key field is sanitized only with sanitize_text_field(), which strips HTML tags but does not encode double-quote characters; the value is then rendered into an HTML attribute via bare echo without esc_attr(), allowing a double-quote attribute-escape payload to survive both sanitization and storage. This makes it possible for unauthenticated attackers to inject arbitrary web scripts by tricking a logged-in administrator into visiting a malicious page that submits a forged request, storing the payload in the database and causing it to execute in the administrator's browser whenever the plugin settings page is visited.

Affected

Product or packageVersionsReported by
simonholliday Anomify AI – Anomaly Detection and Alertingup to 0.3.6CVE List

Classification

CWE-352

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

The Anomify AI – Anomaly Detection and Alerting plugin for WordPress is vulnerable to Cross-Site Request Forgery (CSRF) leading to Stored Cross-Site Scripting (XSS) in versions up to and including 0.3.6. This is due to missing nonce verification on the settings page handler and insufficient output escaping in the admin_options.php template. The settings form includes no wp_nonce_field() and the handler performs no check_admin_referer() check, meaning any cross-origin POST can modify plugin settings. The API key field is sanitized only with sanitize_text_field(), which strips HTML tags but does not encode double-quote characters; the value is then rendered into an HTML attribute via bare echo without esc_attr(), allowing a double-quote attribute-escape payload to survive both sanitization and storage. This makes it possible for unauthenticated attackers to inject arbitrary web scripts by tricking a logged-in administrator into visiting a malicious page that submits a forged request, storing the payload in the database and causing it to execute in the administrator's browser whenever the plugin settings page is visited.

NVD (es)

El plugin Anomify AI - Detección de Anomalías y Alertas para WordPress es vulnerable a Falsificación de Petición en Sitios Cruzados (CSRF) lo que lleva a Cross-Site Scripting Almacenado (XSS) en versiones hasta la 0.3.6 inclusive. Esto se debe a la falta de verificación de nonce en el gestor de la página de configuración y a un escape de salida insuficiente en la plantilla admin_options.php. El formulario de configuración no incluye wp_nonce_field() y el gestor no realiza ninguna comprobación check_admin_referer(), lo que significa que cualquier POST de origen cruzado puede modificar la configuración del plugin. El campo de clave API se sanitiza solo con sanitize_text_field(), que elimina las etiquetas HTML pero no codifica los caracteres de comillas dobles; el valor se renderiza luego en un atributo HTML mediante un echo simple sin esc_attr(), lo que permite que una carga útil de escape de atributo de comillas dobles sobreviva tanto a la sanitización como al almacenamiento. Esto hace posible que atacantes no autenticados inyecten scripts web arbitrarios engañando a un administrador que ha iniciado sesión para que visite una página maliciosa que envía una petición falsificada, almacenando la carga útil en la base de datos y haciendo que se ejecute en el navegador del administrador cada vez que se visita la página de configuración del plugin.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-6405 changed 2026-05-20CVE Terms of Use
NVDCVE-2026-6405 changed 2026-07-24Public domain