Advisory record · GHSA-mrv2-3pqr-j5jr

DOMPurify IN_PLACE: hook that removes a parent or sibling leaves the detached subtree's event handlers armed (incomplete fix for GHSA-p98j-92pf-mc4p)

CVSS 5.1 MediumEPSS 0.0016 · 5th percentile

Published by the GitHub Advisory Database at 22 Oct 2026, 16:24 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
dompurifynpm<3.4.173.4.17
Identifiers
GHSA-mrv2-3pqr-j5jr · CVE-2026-116803
Weakness (CWE)
CWE-79 · CWE-693
Published
22 Oct 2026
Updated
27 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Affected: the npm package dompurify before 3.4.17, with 3.4.17 as the fixed version. In IN_PLACE mode, a hook that removes a node other than the one it was called for (such as the current node's parent or an unvisited sibling) leaves that detached subtree's event handlers active, so an already-loading element like an img with onerror can still fire after sanitize() returns. An attacker who supplies markup to an application that uses such a hook could get DOM XSS; the source frames this as an application choice rather than a default-configuration flaw. Upgrade to dompurify 3.4.17 or later.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.1 Medium 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N CNA (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.0016, the 5th percentile, on 7 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 26 Oct 2026, 23:05 UTC Confirmed by the CVE List
  2. 31 Oct 2026, 13:33 UTC First seen by agentprime
  3. 31 Oct 2026, 13:33 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.