CVE-2025-47828 @lumieducation/h5p-server Fails to Sanitize Plain Text Strings
An attacker can inject malicious scripts via unsanitized plain text strings in the H5P Node.js library, potentially leading to code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-47828?
CVE-2025-47828 is a medium-severity cross-site scripting vulnerability in Lumi H5P-Nodejs-library, published on 11 May 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Lumi H5P-Nodejs-library before 9.3.3 omits a sanitizeHtml call for plain text strings.
Weakness: CWE-79
Which versions are affected by CVE-2025-47828?
2 open source packages ship an affected version, including @lumieducation/h5p-server.
| Package | Affected | Fixed in |
|---|---|---|
@lumieducation/h5p-server npm | All versions | 9.3.3 |
@lumieducation/h5p-server npm | All versions | 9.3.3 |
How do I fix CVE-2025-47828?
Upgrade @lumieducation/h5p-server to 9.3.3 or later.
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-47828 being exploited?
There is no known exploitation of CVE-2025-47828 in the wild and no public exploit code.
Sources
Also known as GHSA-m7gm-v253-56hh.