Vulnerabilities in pkg:npm/@lumieducation/h5p-server
PACKAGECVE-2025-47828 is a MODERATE (CVSS 6.4) @lumieducation/h5p-server fails to sanitize plain vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting @lumieducation/h5p server libraries in the npm ecosystem. The issue involves @lumieducation/h5p-server fails to sanitize plain text strings. Remediation is available by upgrading affected packages to version 9.3.3.
pkg:npm/@lumieducation/h5p-server
Vulnerability advisories affecting package pkg:npm/@lumieducation/h5p-server. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-m7gm-v253-56hh | CVE-2025-47828 | MODERATE | @lumieducation/h5p-server Fails to Sanitize Plain Text Strings |
CVE-2025-47828 at a Glance
Security Impact
CVSS: 6.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N).
How to Fix CVE-2025-47828
To remediate this vulnerability, upgrade all affected @lumieducation/h5p server dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @lumieducation/h5p-server@9.3.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @lumieducation/h5p-server
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2025-47828, inspect your project dependencies using npm:
npm ls @lumieducation/h5p-server
Analyze the terminal output to locate any version of @lumieducation/h5p server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 9.3.3), your application is affected.
Note: The npm ls @lumieducation/h5p-server command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In @lumieducation/h5p server, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-47828 Affected @lumieducation/h5p server Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@lumieducation/h5p-server
|
npm |
< 9.3.3
|
9.3.3
|
References
Frequently Asked Questions
What is CVE-2025-47828?
Which @lumieducation/h5p server versions are affected?
What version fixes CVE-2025-47828?
Is @lumieducation/h5p-server affected?
What is the CVSS score of CVE-2025-47828?
What CWE is associated with CVE-2025-47828?
How can I check npm dependencies for CVE-2025-47828?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-m7gm-v253-56hh",
"modified" : "2025-05-12T20:50:07Z",
"published" : "2025-05-11T03:30:28Z",
"aliases" : [ "CVE-2025-47828" ],
"summary" : "@lumieducation/h5p-server Fails to Sanitize Plain Text Strings",
"details" : "Lumi H5P-Nodejs-library before 9.3.3 omits a sanitizeHtml call for plain text strings.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@lumieducation/h5p-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "9.3.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-47828"
}, {
"type" : "WEB",
"url" : "https://github.com/Lumieducation/H5P-Nodejs-library/pull/3894"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Lumieducation/H5P-Nodejs-library"
}, {
"type" : "WEB",
"url" : "https://github.com/Lumieducation/H5P-Nodejs-library/compare/v9.3.2...v9.3.3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-05-12T20:50:07Z",
"nvd_published_at" : "2025-05-11T03:15:23Z"
}
}