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

Summary

CVECVE-2025-7062
StatePUBLISHED
AssignerSCHUTZWERK
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-09-09 07:16:55 UTC
Updated2026-09-09 07:16:55 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v4.0 5.2 MEDIUM from 23637b5d-af4c-4cf9-b8f6-deb7fd0f8423

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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Problem Types: CWE-20 | CWE-79 | CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') | CWE-20 CWE-20 Improper Input Validation


VersionSourceTypeScoreSeverityVector
4.023637b5d-af4c-4cf9-b8f6-deb7fd0f8423Secondary5.2MEDIUMCVSS: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/C...
4.0CNACVSS5.2MEDIUMCVSS: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

CVSS v4.0 Breakdown

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Active
Confidentiality
None
Integrity
None
Availability
None
Sub Conf.
High
Sub Integrity
High
Sub Availability
Low

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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Lumi Education UG H5p-nodejs-library affected 10.0.4 custom Not specified

References

ReferenceSourceLinkTags
www.schutzwerk.com/en/blog/schutzwerk-sa-2024-007 23637b5d-af4c-4cf9-b8f6-deb7fd0f8423 www.schutzwerk.com
github.com/Lumieducation/H5P-Nodejs-library/releases/tag/v10.0.4 23637b5d-af4c-4cf9-b8f6-deb7fd0f8423 github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Florian Schmid of SCHUTZWERK GmbH (en)

Additional Advisory Data

SourceTimeEvent
CNA2024-10-23T10:33:00.000ZVulnerability discovered
CNA2024-11-08T09:04:00.000ZInitial contact attempt, email sent to [email protected]
CNA2024-11-20T23:00:00.000ZSecond contact attempt via a message on https://app.lumi.education/
CNA2024-11-28T23:00:00.000ZThird contact attempt via a message in the Lumi Slack channel
CNA2025-02-25T23:00:00.000ZFirst exchange between Lumi and the team of developers who use the H5P framework in their project
CNA2025-03-07T23:00:00.000ZRelease of h5p-nodejs-library v10.0.4 (https://github.com/Lumieducation/H5P-Nodejs-library/releases/tag/v10.0.4), which introduces an interface for file content sanitizers and an allowlist of file types permitted in H5P modules based on their filename extension. The SVG file extension is excluded.
CNA2025-09-18T22:00:00.000ZIdentified that the allowlist approach does not prevent the upload of files with XSS content that is executed after loading
CNA2025-09-18T13:46:00.000ZSent email to [email protected] with an update on the finding and received a response the same day
CNA2025-09-18T15:00:00.000ZReceived a response from a developer working on Lumi Education
CNA2025-09-22T11:00:00.000ZVideo call with a developer working on Lumi Education. Received a commitment that an updated version including a fix should be ready within a few weeks
CNA2025-09-23T19:21:00.000ZExchange with the developer on details of the fix
CNA2025-09-24T12:18:00.000ZExchange with the developer on details of the fix
CNA2025-10-20T08:32:00.000ZRequested a status update on the patch from the developer. No response received.
CNA2025-11-14T07:45:00.000ZRequested a status update on the patch from the developer. No response received.
CNA2025-11-20T16:17:00.000ZRequested a status update on the patch from the developer. No response received.
CNA2025-11-26T12:42:00.000ZInformed the business contact about the current status and recommended measures for the framework developers to implement. Publication delayed for undisclosed reasons.
CNA2026-09-09T10:00:00.000ZAdvisory released

Solutions

CNA: 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.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report