Skip to main content
Vulnerability Database/CVE-2026-112867

CVE-2026-112867: H5P Plugin Stored XSS Vulnerability

CVE-2026-112867 is a stored cross-site scripting vulnerability in the H5P plugin that enables attackers to inject malicious scripts into web pages. This article covers the technical details, affected versions, and mitigation.

Published:

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-112867 Overview

CVE-2026-112867 is a stored cross-site scripting (XSS) vulnerability in the H5P WordPress plugin. The flaw affects all versions up to and including 1.17.9. It stems from improper neutralization of input during web page generation [CWE-79]. Authenticated attackers with low privileges can inject malicious scripts that persist in the application and execute in the browsers of other users who view affected content.

Critical Impact

Stored XSS enables session hijacking, credential theft, and unauthorized actions in the context of victim users, including site administrators who view H5P-generated content.

Affected Products

  • H5P WordPress plugin versions up to and including 1.17.9
  • WordPress installations with the H5P plugin enabled
  • Sites allowing contributor-level or higher accounts to create H5P content

Discovery Timeline

  • 2026-10-22 - CVE-2026-112867 published to NVD
  • 2026-10-22 - Last updated in NVD database

Technical Details for CVE-2026-112867

Vulnerability Analysis

The H5P plugin fails to properly sanitize user-supplied input before rendering it in generated web pages. An authenticated user with content submission privileges can inject JavaScript payloads that are persistently stored by the plugin. When another user loads a page containing the affected H5P content, the injected script executes in their browser session.

The scope change recorded in the vulnerability metrics indicates the injected script executes beyond the originally vulnerable component. This allows the payload to reach administrative interfaces and other authenticated sessions. The combined confidentiality, integrity, and availability impact reflects the ability to read session data, modify page content, and disrupt user interaction.

Root Cause

The root cause is missing or insufficient output encoding when the plugin renders H5P content fields back to the browser. Input accepted through the content authoring workflow bypasses contextual escaping routines expected for HTML, attribute, or JavaScript contexts.

Attack Vector

Exploitation requires a low-privileged authenticated account and user interaction from the victim. The attacker submits crafted H5P content containing a script payload. When an administrator or other user navigates to a page displaying that content, the browser executes the stored payload under the site's origin.

Technical details are documented in the Patchstack WordPress Vulnerability Report.

Detection Methods for CVE-2026-112867

Indicators of Compromise

  • H5P content records containing <script> tags, inline event handlers such as onerror= or onload=, or javascript: URIs
  • Unexpected administrator account creation or role changes following administrator views of H5P content pages
  • Outbound requests from browser sessions to attacker-controlled domains after rendering H5P content

Detection Strategies

  • Review the H5P content database tables for payloads containing HTML or JavaScript syntax submitted by non-administrator accounts
  • Monitor WordPress audit logs for low-privileged users creating or editing H5P content, correlated with administrator page views
  • Deploy a web application firewall rule set that flags script-like patterns in POST requests to H5P plugin endpoints

Monitoring Recommendations

  • Enable logging of all content modifications performed through the H5P plugin, including author identity and timestamp
  • Track Content Security Policy (CSP) violation reports from administrative pages to surface attempted script execution
  • Alert on new browser sessions originating from unusual geographies for administrator accounts shortly after content view events

How to Mitigate CVE-2026-112867

Immediate Actions Required

  • Update the H5P plugin to a version released after 1.17.9 that addresses this XSS flaw
  • Audit existing H5P content for stored script payloads and remove any suspicious entries
  • Rotate credentials and session tokens for administrator accounts that may have viewed malicious content

Patch Information

Refer to the Patchstack advisory for the fixed version and upgrade guidance. Apply the vendor-supplied update through the WordPress plugin management interface or via WP-CLI.

Workarounds

  • Restrict H5P content creation to trusted accounts only by revoking contributor and author privileges where unnecessary
  • Deploy a strict Content Security Policy that disallows inline scripts on pages rendering H5P content
  • Place a web application firewall in front of WordPress to filter script injection patterns targeting H5P endpoints
bash
# Update the H5P plugin using WP-CLI
wp plugin update h5p

# Verify the installed version
wp plugin get h5p --field=version

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

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.