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-2025-12904

CVE-2025-12904: H5PxAPIkatchu Plugin XSS Vulnerability

CVE-2025-12904 is a stored cross-site scripting flaw in the H5PxAPIkatchu WordPress plugin that lets unauthenticated attackers inject malicious scripts. This article covers technical details, affected versions, and mitigations.

Published: April 22, 2026

CVE-2025-12904 Overview

CVE-2025-12904 is a Stored Cross-Site Scripting (XSS) vulnerability affecting SNORDIAN's H5PxAPIkatchu plugin for WordPress. The vulnerability exists in the insert_data AJAX endpoint due to insufficient input sanitization and output escaping. This security flaw enables unauthenticated attackers to inject arbitrary web scripts into pages that execute whenever a user accesses an affected page.

Critical Impact

Unauthenticated attackers can inject malicious scripts that persist on affected WordPress pages, potentially compromising administrator sessions, stealing credentials, or delivering malware to site visitors.

Affected Products

  • SNORDIAN's H5PxAPIkatchu plugin for WordPress versions up to and including 0.4.17
  • WordPress installations utilizing vulnerable H5PxAPIkatchu plugin versions

Discovery Timeline

  • 2025-11-14 - CVE-2025-12904 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-12904

Vulnerability Analysis

This Stored Cross-Site Scripting vulnerability (CWE-79) affects the H5PxAPIkatchu WordPress plugin, which is used to capture xAPI statements from H5P content. The flaw resides in the insert_data AJAX endpoint, which fails to properly sanitize user-supplied input and escape output when rendering stored data.

The vulnerability is particularly dangerous because it can be exploited by unauthenticated users. When malicious JavaScript is injected through the vulnerable endpoint, the script persists in the database and executes in the browser context of any user who subsequently views the affected page. This includes administrators, making it a significant threat to site integrity and user security.

The Changed Scope characteristic of this vulnerability indicates that the impact extends beyond the vulnerable component—malicious scripts can affect other components within the user's browser session, potentially leading to session hijacking or further compromise of the WordPress installation.

Root Cause

The root cause of CVE-2025-12904 is inadequate input validation and output encoding in the insert_data AJAX handler. The plugin accepts data through this endpoint without properly sanitizing HTML and JavaScript content before storing it in the database. Additionally, when this data is later retrieved and displayed, the plugin fails to implement proper output escaping, allowing the stored malicious payload to execute as active script content in users' browsers.

Attack Vector

The attack vector for this vulnerability is network-based and requires no authentication or user interaction for the initial injection. An attacker can craft malicious HTTP requests to the WordPress AJAX handler targeting the insert_data action with XSS payloads embedded in the request parameters.

Once the malicious script is stored, any user visiting a page that renders the injected content will have the script execute in their browser session. This can lead to:

  • Session token theft and account takeover
  • Keylogging of administrator credentials
  • Defacement of WordPress pages
  • Redirection to phishing or malware distribution sites
  • Further exploitation of authenticated users' privileges

For detailed technical information about the vulnerability and the specific code changes made to address it, refer to the WordPress Plugin Changeset and the Wordfence Vulnerability Report.

Detection Methods for CVE-2025-12904

Indicators of Compromise

  • Unexpected or suspicious JavaScript code appearing in database entries related to H5PxAPIkatchu
  • Anomalous AJAX requests to the insert_data endpoint from external or unauthenticated sources
  • User reports of redirects, pop-ups, or unexpected behavior when viewing pages with H5P content
  • Web server logs showing unusual POST requests to admin-ajax.php with action=insert_data

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block XSS payloads in requests to WordPress AJAX endpoints
  • Deploy endpoint detection solutions capable of monitoring for malicious script execution patterns
  • Enable and review WordPress audit logging for suspicious AJAX activity targeting the H5PxAPIkatchu plugin
  • Perform regular database scans for stored XSS payloads in plugin-related tables

Monitoring Recommendations

  • Configure real-time alerting for high-volume or suspicious requests to the WordPress AJAX handler
  • Monitor for new or modified JavaScript files in the WordPress installation that could indicate post-exploitation activity
  • Implement Content Security Policy (CSP) headers to detect and report inline script execution violations
  • Review access logs for patterns consistent with automated XSS injection attempts

How to Mitigate CVE-2025-12904

Immediate Actions Required

  • Update the H5PxAPIkatchu plugin to a version newer than 0.4.17 immediately
  • Review database content related to the plugin for any injected malicious scripts
  • Invalidate all user sessions and require password resets if compromise is suspected
  • Implement a Web Application Firewall with XSS protection rules as a defense-in-depth measure

Patch Information

The vulnerability has been addressed by the plugin developers. The security fix can be reviewed in the WordPress Plugin Changeset 3392176. WordPress administrators should update to the latest available version of the H5PxAPIkatchu plugin through the WordPress plugin management interface or by downloading directly from the WordPress plugin repository.

Workarounds

  • Temporarily deactivate the H5PxAPIkatchu plugin until a patched version can be installed
  • Restrict access to the WordPress AJAX handler at the web server level for unauthenticated users if H5P functionality permits
  • Implement server-side input filtering for the insert_data AJAX endpoint using .htaccess or web server configuration rules
  • Deploy a security plugin with virtual patching capabilities to block exploitation attempts
bash
# Example: Restrict AJAX access via .htaccess (use with caution - may affect other functionality)
# Add to WordPress .htaccess to limit admin-ajax.php access
<Files admin-ajax.php>
    <RequireAll>
        Require all granted
    </RequireAll>
</Files>
# Note: This is a temporary measure - update the plugin as the permanent fix

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechWordpress

  • SeverityHIGH

  • CVSS Score7.2

  • EPSS Probability0.13%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • WordPress Plugin Changeset

  • Wordfence Vulnerability Report
  • Related CVEs
  • CVE-2026-6504: Royal Elementor Addons XSS Vulnerability

  • CVE-2026-6174: CC Child Pages WordPress Plugin XSS Flaw

  • CVE-2026-6252: Meta Field Block WordPress Plugin XSS Flaw

  • CVE-2026-3694: Bold Page Builder WordPress XSS Vulnerability
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