{"api_version":"1","generated_at":"2026-09-09T09:12:07+00:00","cve":"CVE-2025-7062","urls":{"html":"https://cve.report/CVE-2025-7062","api":"https://cve.report/api/cve/CVE-2025-7062.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-7062","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-7062"},"summary":{"title":"Stored Cross-Site Scripting via file upload in H5P module (h5p-nodejs-library) of Lumi Education","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.","state":"PUBLISHED","assigner":"SCHUTZWERK","published_at":"2026-09-09 07:16:55","updated_at":"2026-09-09 07:16:55"},"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"],"metrics":[{"version":"4.0","source":"23637b5d-af4c-4cf9-b8f6-deb7fd0f8423","type":"Secondary","score":"5.2","severity":"MEDIUM","vector":"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","data":{"version":"4.0","vectorString":"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","baseScore":5.2,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"ACTIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"LOW","exploitMaturity":"PROOF_OF_CONCEPT","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}},{"version":"4.0","source":"CNA","type":"CVSS","score":"5.2","severity":"MEDIUM","vector":"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","data":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":5.2,"baseSeverity":"MEDIUM","exploitMaturity":"PROOF_OF_CONCEPT","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"LOW","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"}}],"references":[{"url":"https://www.schutzwerk.com/en/blog/schutzwerk-sa-2024-007/","name":"https://www.schutzwerk.com/en/blog/schutzwerk-sa-2024-007/","refsource":"23637b5d-af4c-4cf9-b8f6-deb7fd0f8423","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/Lumieducation/H5P-Nodejs-library/releases/tag/v10.0.4","name":"https://github.com/Lumieducation/H5P-Nodejs-library/releases/tag/v10.0.4","refsource":"23637b5d-af4c-4cf9-b8f6-deb7fd0f8423","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-7062","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-7062","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Lumi Education UG","product":"h5p-nodejs-library","version":"affected 10.0.4 custom","platforms":[]}],"timeline":[{"source":"CNA","time":"2024-10-23T10:33:00.000Z","lang":"en","value":"Vulnerability discovered"},{"source":"CNA","time":"2024-11-08T09:04:00.000Z","lang":"en","value":"Initial contact attempt, email sent to c@lumi.education"},{"source":"CNA","time":"2024-11-20T23:00:00.000Z","lang":"en","value":"Second contact attempt via a message on https://app.lumi.education/"},{"source":"CNA","time":"2024-11-28T23:00:00.000Z","lang":"en","value":"Third contact attempt via a message in the Lumi Slack channel"},{"source":"CNA","time":"2025-02-25T23:00:00.000Z","lang":"en","value":"First exchange between Lumi and the team of developers who use the H5P framework in their project"},{"source":"CNA","time":"2025-03-07T23:00:00.000Z","lang":"en","value":"Release 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."},{"source":"CNA","time":"2025-09-18T22:00:00.000Z","lang":"en","value":"Identified that the allowlist approach does not prevent the upload of files with XSS content that is executed after loading"},{"source":"CNA","time":"2025-09-18T13:46:00.000Z","lang":"en","value":"Sent email to security@lumi.education with an update on the finding and received a response the same day"},{"source":"CNA","time":"2025-09-18T15:00:00.000Z","lang":"en","value":"Received a response from a developer working on Lumi Education"},{"source":"CNA","time":"2025-09-22T11:00:00.000Z","lang":"en","value":"Video 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"},{"source":"CNA","time":"2025-09-23T19:21:00.000Z","lang":"en","value":"Exchange with the developer on details of the fix"},{"source":"CNA","time":"2025-09-24T12:18:00.000Z","lang":"en","value":"Exchange with the developer on details of the fix"},{"source":"CNA","time":"2025-10-20T08:32:00.000Z","lang":"en","value":"Requested a status update on the patch from the developer. No response received."},{"source":"CNA","time":"2025-11-14T07:45:00.000Z","lang":"en","value":"Requested a status update on the patch from the developer. No response received."},{"source":"CNA","time":"2025-11-20T16:17:00.000Z","lang":"en","value":"Requested a status update on the patch from the developer. No response received."},{"source":"CNA","time":"2025-11-26T12:42:00.000Z","lang":"en","value":"Informed the business contact about the current status and recommended measures for the framework developers to implement. Publication delayed for undisclosed reasons."},{"source":"CNA","time":"2026-09-09T10:00:00.000Z","lang":"en","value":"Advisory released"}],"solutions":[{"source":"CNA","title":"","value":"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.\n\n\n\n\nUntil 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.","time":"","lang":"en"}],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Florian Schmid of SCHUTZWERK GmbH","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unknown","modules":["Import of H5P modules"],"packageName":"h5p-nodejs-library","product":"h5p-nodejs-library","programFiles":["packages/h5p-server/src/H5PEditor.ts"],"repo":"https://github.com/Lumieducation/H5P-Nodejs-library","vendor":"Lumi Education UG","versions":[{"lessThan":"10.0.4","status":"affected","version":"0","versionType":"custom"}]}],"credits":[{"lang":"en","type":"finder","value":"Florian Schmid of SCHUTZWERK GmbH"}],"datePublic":"2026-09-09T06:00:00.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<div>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.<br><br></div>"}],"value":"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."}],"impacts":[{"capecId":"CAPEC-592","descriptions":[{"lang":"en","value":"CAPEC-592 Stored XSS"}]},{"capecId":"CAPEC-63","descriptions":[{"lang":"en","value":"CAPEC-63 Cross-Site Scripting (XSS)"}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":5.2,"baseSeverity":"MEDIUM","exploitMaturity":"PROOF_OF_CONCEPT","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"LOW","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-20","description":"CWE-20 Improper Input Validation","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-09-09T06:14:22.143Z","orgId":"23637b5d-af4c-4cf9-b8f6-deb7fd0f8423","shortName":"SCHUTZWERK"},"references":[{"url":"https://www.schutzwerk.com/en/blog/schutzwerk-sa-2024-007/"},{"tags":["patch"],"url":"https://github.com/Lumieducation/H5P-Nodejs-library/releases/tag/v10.0.4"}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<div><span><span>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.</span></span></div><div><span><span><br></span></span></div><div><span><span>Until a complete fix is available, operators should not rely on extension-based filtering alone. Uploaded files should be va</span>li<span>d</span>at<span>ed and sanitized based on their actual content rather than their filename. For SVG uploads specifically, the library's </span><span><span>[</span></span><span><span>SVG file sanitization</span></span><span><span>](</span></span><span><span>https://github.com/Lumieducation/H5P-Nodejs-library/blob/v10.0.4/docs/packages/h5p-svg-sanitizer.md</span></span><span><span>)</span></span><span> can be enabled, which</span> uses <span>DOMPurify to remove malicious script content from uploaded file</span>s.</span></div>"}],"value":"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.\n\n\n\n\nUntil 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."}],"source":{"discovery":"EXTERNAL"},"timeline":[{"lang":"en","time":"2024-10-23T10:33:00.000Z","value":"Vulnerability discovered"},{"lang":"en","time":"2024-11-08T09:04:00.000Z","value":"Initial contact attempt, email sent to c@lumi.education"},{"lang":"en","time":"2024-11-20T23:00:00.000Z","value":"Second contact attempt via a message on https://app.lumi.education/"},{"lang":"en","time":"2024-11-28T23:00:00.000Z","value":"Third contact attempt via a message in the Lumi Slack channel"},{"lang":"en","time":"2025-02-25T23:00:00.000Z","value":"First exchange between Lumi and the team of developers who use the H5P framework in their project"},{"lang":"en","time":"2025-03-07T23:00:00.000Z","value":"Release 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."},{"lang":"en","time":"2025-09-18T22:00:00.000Z","value":"Identified that the allowlist approach does not prevent the upload of files with XSS content that is executed after loading"},{"lang":"en","time":"2025-09-18T13:46:00.000Z","value":"Sent email to security@lumi.education with an update on the finding and received a response the same day"},{"lang":"en","time":"2025-09-18T15:00:00.000Z","value":"Received a response from a developer working on Lumi Education"},{"lang":"en","time":"2025-09-22T11:00:00.000Z","value":"Video 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"},{"lang":"en","time":"2025-09-23T19:21:00.000Z","value":"Exchange with the developer on details of the fix"},{"lang":"en","time":"2025-09-24T12:18:00.000Z","value":"Exchange with the developer on details of the fix"},{"lang":"en","time":"2025-10-20T08:32:00.000Z","value":"Requested a status update on the patch from the developer. No response received."},{"lang":"en","time":"2025-11-14T07:45:00.000Z","value":"Requested a status update on the patch from the developer. No response received."},{"lang":"en","time":"2025-11-20T16:17:00.000Z","value":"Requested a status update on the patch from the developer. No response received."},{"lang":"en","time":"2025-11-26T12:42:00.000Z","value":"Informed the business contact about the current status and recommended measures for the framework developers to implement. Publication delayed for undisclosed reasons."},{"lang":"en","time":"2026-09-09T10:00:00.000Z","value":"Advisory released"}],"title":"Stored Cross-Site Scripting via file upload in H5P module (h5p-nodejs-library) of Lumi Education","x_generator":{"engine":"Vulnogram 0.2.0"}}},"cveMetadata":{"assignerOrgId":"23637b5d-af4c-4cf9-b8f6-deb7fd0f8423","assignerShortName":"SCHUTZWERK","cveId":"CVE-2025-7062","datePublished":"2026-09-09T06:14:22.143Z","dateReserved":"2025-07-04T06:13:06.914Z","dateUpdated":"2026-09-09T06:14:22.143Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-09 07:16:55","lastModifiedDate":"2026-09-09 07:16:55","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"],"metrics":{"cvssMetricV40":[{"source":"23637b5d-af4c-4cf9-b8f6-deb7fd0f8423","type":"Secondary","cvssData":{"version":"4.0","vectorString":"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","baseScore":5.2,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"ACTIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"LOW","exploitMaturity":"PROOF_OF_CONCEPT","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2025","CveId":"7062","Ordinal":"1","Title":"Stored Cross-Site Scripting via file upload in H5P module (h5p-n","CVE":"CVE-2025-7062","Year":"2025"},"notes":[{"CveYear":"2025","CveId":"7062","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Stored Cross-Site Scripting via file upload in H5P module (h5p-n"}]}}}