CVE-2026-6405: CWE-352 Cross-Site Request Forgery (CSRF) in simonholliday Anomify AI – Anomaly Detection and Alerting
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.
AI Analysis
Technical Summary
The Anomify AI plugin for WordPress suffers from a CSRF vulnerability due to the absence of nonce verification on its settings page handler and insufficient escaping in the admin_options.php template. The settings form lacks wp_nonce_field() and the handler does not perform check_admin_referer(), enabling cross-origin POST requests to modify plugin settings. The API key field is sanitized only with sanitize_text_field(), which does not encode double-quote characters, and the value is output without esc_attr(), allowing a double-quote attribute escape payload to persist. This enables unauthenticated attackers to inject stored XSS payloads by tricking logged-in administrators into visiting malicious pages that submit forged requests, causing script execution in the admin context.
Potential Impact
This vulnerability allows an unauthenticated attacker to perform CSRF attacks that store malicious scripts in the plugin settings. When an administrator visits the plugin settings page, the stored XSS payload executes in their browser, potentially leading to unauthorized actions within the admin interface. The CVSS score is 4.3 (medium severity), indicating limited impact primarily related to integrity via script injection without direct confidentiality or availability loss.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, administrators should avoid visiting untrusted sites while logged into WordPress and consider disabling or removing the affected plugin version. Monitoring vendor channels for an official fix is recommended.
CVE-2026-6405: CWE-352 Cross-Site Request Forgery (CSRF) in simonholliday Anomify AI – Anomaly Detection and Alerting
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Anomify AI plugin for WordPress suffers from a CSRF vulnerability due to the absence of nonce verification on its settings page handler and insufficient escaping in the admin_options.php template. The settings form lacks wp_nonce_field() and the handler does not perform check_admin_referer(), enabling cross-origin POST requests to modify plugin settings. The API key field is sanitized only with sanitize_text_field(), which does not encode double-quote characters, and the value is output without esc_attr(), allowing a double-quote attribute escape payload to persist. This enables unauthenticated attackers to inject stored XSS payloads by tricking logged-in administrators into visiting malicious pages that submit forged requests, causing script execution in the admin context.
Potential Impact
This vulnerability allows an unauthenticated attacker to perform CSRF attacks that store malicious scripts in the plugin settings. When an administrator visits the plugin settings page, the stored XSS payload executes in their browser, potentially leading to unauthorized actions within the admin interface. The CVSS score is 4.3 (medium severity), indicating limited impact primarily related to integrity via script injection without direct confidentiality or availability loss.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, administrators should avoid visiting untrusted sites while logged into WordPress and consider disabling or removing the affected plugin version. Monitoring vendor channels for an official fix is recommended.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-04-15T20:43:35.051Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a0db4deba1db473627ecdd1
Added to database: 5/20/2026, 1:19:26 PM
Last enriched: 5/20/2026, 1:34:44 PM
Last updated: 5/20/2026, 6:41:57 PM
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.