The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-6404

CVE-2026-6404: Anomify AI WordPress Plugin XSS Flaw

CVE-2026-6404 is a stored cross-site scripting vulnerability in the Anomify AI WordPress plugin affecting versions up to 0.3.6. Attackers with admin access can inject malicious scripts. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: May 21, 2026

CVE-2026-6404 Overview

CVE-2026-6404 is a Stored Cross-Site Scripting (XSS) vulnerability [CWE-79] in the Anomify AI – Anomaly Detection and Alerting plugin for WordPress. The flaw affects all versions up to and including 0.3.6. The vulnerability resides in the handling of the anomify_api_key parameter, where the plugin uses sanitize_text_field() on input but fails to apply esc_attr() on output. Authenticated attackers with administrator-level access can inject arbitrary web scripts that execute when any user visits the plugin's settings page.

Critical Impact

Successful exploitation enables script execution in the context of an administrator session, allowing session hijacking, plugin tampering, or pivoting to further account compromise within the WordPress admin interface.

Affected Products

  • Anomify AI – Anomaly Detection and Alerting plugin for WordPress
  • All versions up to and including 0.3.6
  • WordPress sites with the plugin installed and activated

Discovery Timeline

  • 2026-05-20 - CVE-2026-6404 published to NVD
  • 2026-05-20 - Last updated in NVD database

Technical Details for CVE-2026-6404

Vulnerability Analysis

The vulnerability is a Stored XSS flaw in the plugin's admin settings page. The anomify_api_key parameter, also referenced as the Metric Data Key input, is persisted to the WordPress options table via update_option(). On subsequent renders of the settings page, the stored value is echoed directly into an HTML value="..." attribute context without escaping.

The attack requires administrator-level privileges, which raises the privilege barrier. However, stored XSS in an admin context is still useful for adversaries seeking persistence after initial account compromise. Injected scripts execute every time a user with access to the settings page loads the page.

Root Cause

The root cause is a mismatch between sanitization and output encoding. The plugin applies sanitize_text_field() to the input before storage. That function strips HTML tags but does not encode double-quote characters. When the stored value is later rendered into an HTML attribute using a value="..." construct, the absence of esc_attr() allows an attacker to break out of the attribute and inject script handlers.

The affected code paths are visible in Anomify Config.php line 152, Anomify Wp/Admin.php line 32, and admin_options.php line 43.

Attack Vector

An authenticated administrator submits a crafted value for the Metric Data Key field that contains a double-quote character followed by an HTML event handler such as onfocus or onmouseover. The payload bypasses sanitize_text_field() because no HTML tags are required. The injected attribute then executes JavaScript in the browser of any administrator who loads the plugin settings page. Refer to the Wordfence Vulnerability Analysis for additional context.

Detection Methods for CVE-2026-6404

Indicators of Compromise

  • Unexpected values in the anomify_api_key option within the wp_options table containing characters such as ", onerror=, onfocus=, or <script.
  • Outbound HTTP requests from administrator browsers to unknown domains after loading WordPress admin pages.
  • Unauthorized changes to administrator accounts, plugins, or theme files following access to the Anomify settings page.

Detection Strategies

  • Query the wp_options table for the anomify_api_key row and inspect its value for HTML attribute-breaking characters or JavaScript event handlers.
  • Review WordPress audit logs for update_option events targeting Anomify settings by administrator accounts.
  • Inspect web server access logs for POST requests to wp-admin/options-general.php or the Anomify settings endpoint containing encoded quote characters.

Monitoring Recommendations

  • Monitor administrator session activity for anomalous JavaScript execution patterns or unexpected DOM modifications in admin pages.
  • Alert on creation of new administrator accounts or modifications to existing accounts shortly after settings page access.
  • Track plugin file modifications and changes to wp-config.php that may indicate post-XSS persistence.

How to Mitigate CVE-2026-6404

Immediate Actions Required

  • Update the Anomify AI plugin to a version newer than 0.3.6 once the vendor releases a patched release.
  • Restrict administrator account access to trusted personnel only and enforce multi-factor authentication on all admin accounts.
  • Audit the current value of the anomify_api_key option and reset it to a known-clean value if any unexpected content is found.

Patch Information

At the time of publication, no fixed version has been listed in the NVD entry. Site operators should monitor the WordPress plugin repository and the Wordfence Vulnerability Analysis for release of a patched version that applies esc_attr() to the output of the anomify_api_key value.

Workarounds

  • Deactivate the Anomify AI plugin until a patched version is available if the functionality is non-critical.
  • Apply a Web Application Firewall (WAF) rule that blocks requests to the plugin settings endpoint containing double-quote characters combined with on*= event handler patterns.
  • Implement a Content Security Policy (CSP) header on the WordPress admin interface that restricts inline script execution to mitigate stored XSS payloads.
bash
# Example WordPress CLI command to deactivate the plugin until patched
wp plugin deactivate anomify

# Example query to inspect the stored option value for suspicious content
wp option get anomify_api_key

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechWordpress

  • SeverityMEDIUM

  • CVSS Score4.4

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • WordPress Anomify Config Code

  • WordPress Anomify Admin Code

  • WordPress Anomify Admin Options Code

  • WordPress Anomify Config Trunk Code

  • WordPress Anomify Admin Trunk Code

  • WordPress Anomify Admin Options Trunk Code

  • Wordfence Vulnerability Analysis
  • Related CVEs
  • CVE-2026-1543: Avada Builder WordPress XSS Vulnerability

  • CVE-2026-4811: WPB Floating Menu Plugin XSS Vulnerability

  • CVE-2026-7613: WordPress Cost of Goods Plugin XSS Flaw

  • CVE-2026-5776: Email Encoder WordPress Plugin XSS Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English