CVE-2025-61927 in Consumer products
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 ...
Affects 0 products from 2 vendors. Facts below cite their sources.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Consumer | — | — |
| Javascript | — | — |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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 the process is using ESM or CommonJS. With CommonJS the attacker can get hold of the `require()` function to import modules. Happy DOM has JavaScript evaluation enabled by default. This may not be obvious to the consumer of Happy DOM and can potentially put the user at risk if untrusted code is executed within the environment. Version 20.0.0 patches the issue by changing JavaScript evaluation to be disabled by default.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-61927 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-026088-I |
| Published | 2025-10-10 |
| Last modified | 2026-10-08 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-94: Code Injection
Attacker injects arbitrary code that is executed by the application process.
Related attack patterns (CAPEC)
CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-94
CAPEC-77 Manipulating User-Controlled Variables via CWE-94
CAPEC-242 Code Injection via CWE-94
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Happy DOM v19 and lower contains a security vulnerability that could allow for Remote Code Execution (RCE) if untrusted JavaScript code is run within its VM Context.
The vulnerability arises because the Node.js VM Context used by Happy DOM is not fully isolated. This allows untrusted JavaScript code to potentially escape the VM and execute arbitrary code on the host system.
Questions
What is CVE-2025-61927?
Happy DOM v19 and lower contains a security vulnerability that could allow for Remote Code Execution (RCE) if untrusted JavaScript code is run within its VM Context.
Is CVE-2025-61927 actively exploited?
No confirmed active exploitation of CVE-2025-61927 as of 2026-10-10.
How do I remediate CVE-2025-61927?
Priority: IMMEDIATE.
What systems are affected by CVE-2025-61927?
CVE-2025-61927 affects Consumer; Javascript.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Consumer","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-08.