It has been discovered that malicious HTML using special nesting
techniques can bypass the depth checking added to DOMPurify in recent
releases. It was also possible to use Prototype Pollution to weaken the
depth check.
This renders dompurify unable to avoid XSS attack.
Fixed by 1e52026 (3.x branch) and 26e1d69 (2.x branch).
It has been discovered that malicious HTML using special nesting
techniques can bypass the depth checking added to DOMPurify in recent
releases. It was also possible to use Prototype Pollution to weaken the
depth check.
This renders dompurify unable to avoid XSS attack.
Fixed by 1e52026 (3.x branch) and 26e1d69 (2.x branch).