---
title: "dompurify"
description: "A cross-site scripting flaw affects the npm package dompurify. Affected versions: >= 3.4.4, <= 3.4.16. Fixed from version 3.4.17."
canonical: https://inyourgeek.com/en/failles-de-securite/2026-10-22-ghsa-cg2g-xh64-v4q7
type: faille-de-securite
author: "Sébastien Soulier"
publisher: "InYourGeek"
language: en
datePublished: 2026-10-22
dateModified: 2026-10-22
---
# dompurify

A cross-site scripting flaw affects the npm package dompurify. Affected versions: >= 3.4.4, <= 3.4.16. Fixed from version 3.4.17.

## What to do

Update dompurify to 3.4.17 or later.

| Fact | Value |
| --- | --- |
| Package | dompurify |
| Ecosystem | npm (JavaScript) |
| Class | Cross-site scripting |
| Affected versions | >= 3.4.4, <= 3.4.16 |
| Fixed version | 3.4.17 |
| GHSA | GHSA-cg2g-xh64-v4q7 |
| Published on | October 22, 2026 |
| Severity | Critical |

## Sources

- [GitHub Security Advisory — GHSA-cg2g-xh64-v4q7](https://github.com/advisories/GHSA-cg2g-xh64-v4q7) — GitHub Security Advisories

---

Equivalent HTML page : https://inyourgeek.com/en/failles-de-securite/2026-10-22-ghsa-cg2g-xh64-v4q7
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
