---
title: "happy-dom — CVE-2026-115895"
description: "A remote code execution flaw affects the npm package happy-dom. Affected versions: >= 17.0.0, <= 21.0.3. Fixed from version 21.0.4. CVSS score 8.8."
canonical: https://inyourgeek.com/en/failles-de-securite/2026-10-23-cve-2026-115895
type: faille-de-securite
author: "Sébastien Soulier"
publisher: "InYourGeek"
language: en
datePublished: 2026-10-23
dateModified: 2026-10-23
---
# happy-dom — CVE-2026-115895

A remote code execution flaw affects the npm package happy-dom. Affected versions: >= 17.0.0, <= 21.0.3. Fixed from version 21.0.4. CVSS score 8.8.

## What to do

Update happy-dom to 21.0.4 or later.

| Fact | Value |
| --- | --- |
| Package | happy-dom |
| Ecosystem | npm (JavaScript) |
| Class | Remote code execution |
| Affected versions | >= 17.0.0, <= 21.0.3 |
| Fixed version | 21.0.4 |
| CVSS | 8.8 |
| CVE | CVE-2026-115895 |
| GHSA | GHSA-834v-8h66-3h79 |
| Published on | October 23, 2026 |
| Severity | High |

## Sources

- [GitHub Security Advisory — GHSA-834v-8h66-3h79](https://github.com/advisories/GHSA-834v-8h66-3h79) — GitHub Security Advisories
- [NVD — CVE-2026-115895](https://nvd.nist.gov/vuln/detail/CVE-2026-115895) — NVD

---

Equivalent HTML page : https://inyourgeek.com/en/failles-de-securite/2026-10-23-cve-2026-115895
Published by InYourGeek — https://inyourgeek.com/en/a-propos
Method and safeguards : https://inyourgeek.com/en/methode
Full register : https://inyourgeek.com/en/failles-de-securite
