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)
A vulnerability in DOMPurify's in-place mode allows detached subtrees to retain active event handlers when a hook removes an ancestor or sibling node. Under specific hook configurations, this can lead to DOM cross-site scripting when processing untrusted markup.