Skip to main content

h5p-nodejs-library CVE-2025-7062

| EUVDEUVD-2025-210874 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-09-09 SCHUTZWERK GHSA-9248-q3fg-hqmh
5.2
CVSS 4.0 · Vendor: SCHUTZWERK
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker obtains low-privilege upload account
  2. Delivery
    Crafts H5P package with embedded malicious JavaScript
  3. Exploit
    Uploads package to target h5p-nodejs-library instance
  4. Execution
    Victim navigates to and views H5P content
  5. Persist
    JavaScript executes in victim browser
  6. Impact
    Session token or credential theft

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Attacker must hold a low-privilege authenticated account on the target platform with permission to upload H5P content packages (PR:L). Victim must actively navigate to and interact with the malicious H5P content (UI:A) - passive server-side access alone does not trigger execution. Impact is confined to victim browsers, not the server (VC:N/VI:N/VA:N). Limiting factors: platforms that restrict H5P upload to administrators only have a significantly reduced attack surface; unauthenticated/guest users cannot directly upload content; and the victim must access the specific piece of poisoned H5P content.

Impact

The CVSS 4.0 base score of 5.2 is a reasonable representation of moderate, scope-changed risk. The PR:L requirement constrains exploitation to users who already hold upload privileges on the platform - anonymous or guest attackers cannot trigger this without first obtaining an account. The UI:A metric (active user interaction) further limits impact: victims must navigate to and interact with the malicious content. The E:P supplemental metric raises operational urgency beyond the base score alone, as working exploit code or PoC is indicated. No KEV listing confirms active mass exploitation has not been observed. Even a mid-sized educational institution or municipal e-learning deployment in mielec should treat this as a priority patch, particularly where student or external-partner accounts are permitted to upload H5P content - in those configurations the PR:L barrier is easily cleared. Platforms that restrict H5P upload strictly to administrators substantially reduce real-world exposure.

Exploit ScenarioDerived

An attacker with a low-privilege platform account uploads a crafted H5P package containing malicious JavaScript embedded in an SVG or other content file. When a victim - such as a student or platform administrator - browses to and views the H5P activity, the injected script executes in their browser, stealing session cookies or performing authenticated actions on their behalf. The E:P supplemental metric indicates exploit code is available, reducing the technical barrier for exploitation.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 09, 2026

Stored cross-site scripting in Lumi Education UG's h5p-nodejs-library (all versions prior to 10.0.4) allows an authenticated user with H5P content upload access to embed malicious JavaScript inside an H5P package, which then executes in the browsers of any subsequent users who view that content. The CVSS 4.0 vector (SC:H/SI:H) reflects that the primary damage lands on victim browsers - enabling session hijacking, credential theft, or arbitrary DOM manipulation - rather than on the server itself. No public exploit identified at time of analysis, though the CVSS 4.0 E:P supplemental metric indicates exploit code or proof-of-concept exists.

RemediationAI

Upgrade h5p-nodejs-library to version 10.0.4 or later; the vendor-released patch is at https://github.com/Lumieducation/H5P-Nodejs-library/releases/tag/v10.0.4. Operators must be aware that v10.0.4 is a breaking release: it requires Node.js 20+, packages are now compiled to ES2022, H5P Core and Editor files must be re-downloaded using the updated install script, the mongodb dependency was updated from v4 to v6 (requiring a library-collection data migration via provided migration methods), aws-sdk moved from v2 to v3 (requiring initialization changes), and h5p-redis-lock switched from ioredis to redis. SVG files are now blocked as content by default unless processed through the new SVG sanitizer - this directly addresses the primary XSS vector. As a compensating control prior to patching, restrict H5P content upload permissions to trusted administrator accounts only and disable end-user upload functionality where not operationally required; this raises the effective privilege bar from PR:L toward PR:H, substantially limiting the attacker pool.

Affected VersionsENISA

H5P-Nodejs-library 0 <10.0.4

Affected Packages

euvd h5p_nodejs_library fix: 10.0.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

H5P is an open standard for authoring interactive HTML5 learning content, widely embedded in LMS platforms such as Moodle, Canvas, and WordPress. The h5p-nodejs-library (CPE: cpe:2.3:a:lumi_education_ug:h5p-nodejs-library) is the Node.js server-side runtime that ingests, stores, and serves H5P packages. CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-site Scripting) identifies the root cause: user-supplied content within uploaded H5P archives was not adequately sanitized before being rendered to other users. The v10.0.4 release notes explicitly call out that SVG files were blocked as unsafe content and a new SVG sanitizer was introduced, strongly suggesting SVG-embedded script was one of the primary exploitation vectors. The CVSS 4.0 structure correctly models this as a scope-changed vulnerability: VC/VI/VA are all N (server unaffected), while SC:H/SI:H capture the high confidentiality and integrity impact against subsequent systems (victim browsers).

Know when H5P Nodejs Library gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (SCHUTZWERK) PRIMARY 5.2 MEDIUM
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
vuln.today AI 5.4 MEDIUM

Low-privilege upload account required (PR:L); victim must view content (UI:R); scope changes to victim browsers (S:C); session/data exposure but not full system compromise (C:L/I:L).

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N

Primary rating from Vendor (SCHUTZWERK).

CVSS VectorVendor: SCHUTZWERK

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Active
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
Low

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Low
niche Node.js e-learning library for H5P content platforms
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy