CVE-2025-7062

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

Published Sep 9, 2026 CVSS 4.0 · 5.2 Medium EPSS < 1% KEV · Not listed
Description
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.

Remediation

Vendor Solution

At the time of publication, no release fully prevents the upload and execution of files that contain JavaScript. Version 10.0.4 removes the SVG file extension from the default content allowlist, but it still identifies permitted files by their filename extension alone. An attacker can therefore upload a file with malicious JavaScript content under an allowed extension, such as XML, and have it executed. Until a complete fix is available, operators should not rely on extension-based filtering alone. Uploaded files should be validated and sanitized based on their actual content rather than their filename. For SVG uploads specifically, the library's [SVG file sanitization](https://github.com/Lumieducation/H5P-Nodejs-library/blob/v10.0.4/docs/packages/h5p-svg-sanitizer.md) can be enabled, which uses DOMPurify to remove malicious script content from uploaded files.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Lumi Education Ug
Lumi Education Ug h5p-nodejs-library
Vendors & Products Lumi Education Ug
Lumi Education Ug h5p-nodejs-library
Type Values Removed Values Added
Description 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.
Title Stored Cross-Site Scripting via file upload in H5P module (h5p-nodejs-library) of Lumi Education
Weaknesses CWE-20
CWE-79
References
Metrics cvssV4_0

{'score': 5.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:L/E:P'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
SCHUTZWERK
Published
Updated
Sep 22, 2026, 7:06 PM
Reserved
Jul 4, 2025, 6:13 AM
Status
Deferred
Published
Sep 9, 2026, 7:16 AM
Modified
Oct 19, 2026, 10:10 PM