CVE-2025-7062: Stored Cross-Site Scripting via file upload in H5P module (h5p-nodejs-library) of Lumi Education

Published Sep 9, 2026
·
Updated

A stored cross-site scripting (XSS) vulnerability has been identified in the H5P module h5p-nodejs-library by Lumi Education UG in versions up to and including 10.0.4. The library allows users to upload H5P content that contains malicious JavaScript. This code is then executed in the browsers of other users who view the affected H5P content.

Affected Software

1 affected component
h5p-nodejs-library<=10.0.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade h5p-nodejs-library to a version that resolves this vulnerability.

    Fixed in 10.0.4
  2. Configuration

    Enable the library's SVG file sanitization (uses DOMPurify) so uploaded SVGs have malicious script content removed. This is specifically referenced for SVG uploads.

    h5p-nodejs-library (H5P SVG sanitization) SVG file sanitization (DOMPurify-based) = enabled
  3. Compensating control

    Do not rely on extension-based filtering alone. Validate and sanitize uploaded files based on their actual content (not only the filename extension) until a complete fix is available.

Event History

Sep 9, 2026
CVE Published
via MITRE·06:14 AM
Data Sourced
via MITRE·06:14 AM
RemedyDescriptionWeakness

Frequently Asked Questions

1

Who is exposed to this vulnerability?

Users who view H5P content uploaded by another user are exposed, because malicious JavaScript embedded in uploaded H5P content executes in viewers' browsers.

2

What does an attacker need to exploit it?

The attacker needs the ability to upload H5P content to an application using the affected library. They can include malicious JavaScript in that uploaded content.

3

Which versions are affected?

Versions of h5p-nodejs-library up to and including 10.0.4 are affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203