CVE-2026-0540
1 advisory.
npm/dompurify CVE-2026-0540: medium 6.1
DOMPurify contains a Cross-site Scripting vulnerability
Action: Upgrade dompurify to 2.5.9 or later.
npm i dompurify@3.3.2npm i dompurify@2.5.9Affected
| introduced | fixed | last affected |
|---|---|---|
| 3.1.3 | 3.3.2 | - |
| 2.5.3 | 2.5.9 | - |
Fixed versions
| 3.3.2 | 2.5.9 |
Sources
- osv: GHSA-v2wj-7wpq-c8vv
- https://nvd.nist.gov/vuln/detail/CVE-2026-0540
- https://github.com/cure53/DOMPurify/commit/302b51de22535cc90235472c52e3401bedd46f80
- https://github.com/cure53/DOMPurify/commit/fca0a938b4261ddc9c0293a289935a9029c049f5
- https://fluidattacks.com/advisories/daft
- https://github.com/cure53/DOMPurify
- https://github.com/cure53/DOMPurify/releases/tag/3.3.2
- https://www.vulncheck.com/advisories/dompurify-xss-via-missing-rawtext-elements-in-safe-for-xml
CVE-2026-0540 · published · modified · JSON