CVE-2025-47828
Description
Lumi H5P-Nodejs-library before 9.3.3 omits a sanitizeHtml call for plain text strings.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
CVE-2025-47828: Lumi H5P-Nodejs-library before 9.3.3 omits sanitizeHtml for plain text strings, enabling stored XSS attacks.
Vulnerability
Description
The Lumi H5P-Nodejs-library, a TypeScript-based toolkit for creating custom H5P servers on NodeJS, contains a cross-site scripting (XSS) vulnerability in versions prior to 9.3.3. The core issue is that the sanitizeHtml call is omitted when processing plain text strings, meaning user-supplied input that was intended to be unformatted text is not properly cleaned of potentially dangerous HTML or JavaScript content [1][2].
Exploitation
Scenario
An attacker can exploit this flaw by providing specially crafted plain text strings that contain malicious HTML or JavaScript code. Because the library fails to sanitize these plain text inputs before rendering them in the H5P player or editor, the injected code can be executed in the browser context of any user who views or interacts with the malicious H5P content [1][3]. No special authentication or elevated privileges are required beyond the ability to provide content to an affected H5P instance.
Impact
Successful exploitation leads to stored cross-site scripting (XSS), enabling the attacker to execute arbitrary scripts in the context of the victim's browser session. This can result in data theft, session hijacking, defacement of the H5P UI, or further compromise of the end user's account and sensitive information [1][3].
Mitigation
Status
The vulnerability was addressed in version 9.3.3 of the H5P-Nodejs-library, as shown in the pull request that added sanitization for text strings without formatting [1][4]. Users are strongly advised to update to version 9.3.3 or later to eliminate the XSS risk.
- fix(h5p-server): added sanization of text strings without formatting by sr258 · Pull Request #3894 · Lumieducation/H5P-Nodejs-library
- GitHub - Lumieducation/H5P-Nodejs-library: h5p-nodejs-library is a collection of server and client-side packages that help you use H5P with a NodeJS backend
- NVD - CVE-2025-47828
- Comparing v9.3.2...v9.3.3 · Lumieducation/H5P-Nodejs-library
AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@lumieducation/h5p-servernpm | < 9.3.3 | 9.3.3 |
Affected products
1- Range: <9.3.3
Patches
25730c0231dd7e94e6e09b2a9Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
4News mentions
0No linked articles in our index yet.