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

- Severity: Medium 4.4 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2026-05-20T01:25:48.238Z
- Modified: 2026-07-24T08:10:00.150Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

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

(As written by CVE List.)

## Affected

- simonholliday Anomify AI – Anomaly Detection and Alerting: up to 0.3.6

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

## Sources

- CVE List: [CVE-2026-6404](https://www.cve.org/CVERecord?id=CVE-2026-6404), CVE Terms of Use, modified 2026-05-20
- NVD: [CVE-2026-6404](https://nvd.nist.gov/vuln/detail/CVE-2026-6404), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-6404 · Whole record: https://cve.day/CVE-2026-6404.json · Rebuilt by cve.day 2026-11-25T22:59:22.013Z
