Happy DOM: Incomplete fix for CVE-2026-33943: unsanitized import alias leads to host code execution
影響: npm:happy-dom >= 17.0.0, <= 21.0.3 → 21.0.4
The ESM compiler in happy-dom@20.14.5 does not validate imported local binding aliases before interpolating them into generated JavaScript. As a result, an invalid ESM import alias can be transformed into a valid JavaScript destructuring default initializer and executed. This appears to be an alternate injection path and incomplete remediation of GHSA-6q6h-j7hj-3r64 / CVE-2026-33943. The previous fix validates importName in the local export { ... } handler, but the named import handler still pl…
Read on GitHub Advisory Database
| CVE | CVE-2026-115895 |
|---|---|
| Source | GitHub Advisory Database |
| Fetched | 10/24/2026, 01:50 PM |
| Data | Markdown JSON |
On 10/24/2026, 07:06 AM, GitHub Advisory Database published "Happy DOM: Incomplete fix for CVE-2026-33943: unsanitized import alias leads to host code execution" (type: Advisory). Severity is "High" (high). Related technologies: JavaScript / Node.js. CVE: CVE-2026-115895.