- Accueil
- Vulnérabilités
- CVE-2026-118660
CVE-2026-118660
Happy DOM: SSRF via iframe and link stylesheet when parsing untrusted HTML
Résumé
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. Prior to 21.0.0, Happy DOM loads iframe src URLs and link rel="stylesheet" href URLs by default while parsing untrusted HTML on the server because disableIframePageLoading and disableCSSFileLoading default to false. An attacker who controls parsed HTML can therefore cause server-side requests to arbitrary internal or cloud endpoints without an application opt-in and may expose confidential responses or credentials returned by those endpoints. This issue is fixed in version 21.0.0.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Capricorn86 (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Happy dom | Versions non précisées | — | CNA (éditeur ou attributeur) |
npm (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| happy-dom | avant 21.0.0 (exclu) |
21.0.0 |
GitHub Advisory |
Correctif
Mise à jour — npm/happy-dom 21.0.0source officielle
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-c8p4-j97h-3vg8 — Happy DOM: SSRF via iframe and link stylesheet when parsing untrusted HTML 28 oct. 2026
Références
- https://github.com/capricorn86/happy-dom/security/advisories/GHSA-c8p4-j97h-3vg8x_refsource_CONFIRM
- https://github.com/capricorn86/happy-dom/pull/2502x_refsource_MISC
- https://github.com/capricorn86/happy-dom/commit/0a99c7525a1d0043e3182843ae33466ab7b19e74x_refsource_MISC
- https://github.com/capricorn86/happy-dom/releases/tag/v21.0.0x_refsource_MISC
- https://github.com/capricorn86/happy-domPACKAGE
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N(CVSS 3.1, CNA:GitHub_M)- Faiblesse
- CWE-918 · Requête côté serveur (SSRF) / CSRF