Home

Description

The Anomify AI – Anomaly Detection and Alerting plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'anomify_api_key' parameter in versions up to and including 0.3.6. This is due to insufficient input sanitization and missing output escaping: the plugin applies sanitize_text_field() to the Metric Data Key input before saving it via update_option(), but sanitize_text_field() strips HTML tags without encoding double-quote characters, and the value is then echoed directly into an HTML attribute context (value="...") without esc_attr(). This makes it possible for authenticated attackers with administrator-level access to inject arbitrary web scripts that execute whenever a user visits the plugin's settings page.

PUBLISHED Reserved 2026-04-15 | Published 2026-05-20 | Updated 2026-05-20 | Assigner Wordfence




MEDIUM: 4.4CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N

Problem types

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

Product status

Default status
unaffected

Any version
affected

Timeline

2026-05-19:Disclosed

Credits

Muhammad Nur Ibnu Hubab finder

References

www.wordfence.com/...-0c43-4d9c-97db-4861d91a4daa?source=cve

plugins.trac.wordpress.org/.../Wp/includes/admin_options.php

plugins.trac.wordpress.org/.../Wp/includes/admin_options.php

plugins.trac.wordpress.org/...ify/trunk/Anomify/Wp/Admin.php

plugins.trac.wordpress.org/...ags/0.3.6/Anomify/Wp/Admin.php

plugins.trac.wordpress.org/...omify/trunk/Anomify/Config.php

plugins.trac.wordpress.org/.../tags/0.3.6/Anomify/Config.php

cve.org (CVE-2026-6404)

nvd.nist.gov (CVE-2026-6404)

Download JSON