Improper access control in DOMPurify - #VU126319
Published: April 16, 2026
DOMPurify
Detailed vulnerability description
The vulnerability allows a remote user to bypass tag filtering restrictions.
The vulnerability exists due to improper access control in the ADD_TAGS tag handling logic when processing sanitized HTML with both ADD_TAGS as a function and FORBID_TAGS enabled. A remote user can supply crafted markup using forbidden tags to bypass tag filtering restrictions.
Only applications that use ADD_TAGS in function form together with FORBID_TAGS are affected.