CVE Explorer
CVE-2025-61927
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. Happy DOM v19 and lower contains a security vulnerability that puts the owner system at the risk of RCE (Remote Code Execution) attacks. A Node.js VM Context is not an isolated environment, and if the user runs untrusted JavaScript code within the Happy DOM VM Context, it may escape the VM and get access to process level functionality. It seems like what the attacker can get control over depends on if
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"happy-dom","vendor":"capricorn86","versions":[{"status":"affected","version":"< 20.0.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:2c95b285626a591e459d7858d0f163f34aa441dd29ede451ea97474b7652c385 · sha256:ea7a0767d9b8eb38… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":7.2,"baseSeverity":"HIGH","privilegesRequired":"HIGH","subAvailabilityImpact":"HIGH","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","userInteraction":"ACTIVE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:A/VC:L/VI:H/VA:H/SC:H/SI:H/SA:H","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:2c95b285626a591e459d7858d0f163f34aa441dd29ede451ea97474b7652c385 · sha256:ea7a0767d9b8eb38… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2c95b285626a591e459d7858d0f163f34aa441dd29ede451ea97474b7652c385 · sha256:ea7a0767d9b8eb38… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/capricorn86/happy-dom/commit/819d15ba289495439eda8be360d92a614ce22405","tags":["x_refsource_MISC"],"url":"https://github.com/capricorn86/happy-dom/commit/819d15ba289495439eda8be360d92a614ce22405"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2c95b285626a591e459d7858d0f163f34aa441dd29ede451ea97474b7652c385 · sha256:ea7a0767d9b8eb38… · /containers/cna/references/1
{"name":"https://github.com/capricorn86/happy-dom/security/advisories/GHSA-37j7-fg3j-429f","tags":["x_refsource_CONFIRM"],"url":"https://github.com/capricorn86/happy-dom/security/advisories/GHSA-37j7-fg3j-429f"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2c95b285626a591e459d7858d0f163f34aa441dd29ede451ea97474b7652c385 · sha256:ea7a0767d9b8eb38… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.