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

Medium 5.2 Published Updated

Attackers can inject malicious JavaScript via H5P file uploads, leading to script execution in other users' browsers.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-7062?

CVE-2025-7062 is a medium-severity cross-site scripting vulnerability in Lumi Education UG h5p-nodejs-library, published on 9 Sep 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-79, CWE-20

Which versions are affected by CVE-2025-7062?

How do I fix CVE-2025-7062?

No fix has been published for CVE-2025-7062 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2025-7062 being exploited?

There is no known exploitation of CVE-2025-7062 in the wild and no public exploit code.

Sources

Also known as GHSA-9248-q3fg-hqmh.

Is CVE-2025-7062 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free