> DOMPurify’s job is to take an untrusted HTML snippet, supposedly coming from an end-user, and remove all elements and attributes that can lead to Cross-Site Scripting
The error here is to use a blacklist instead of a whitelist.
The error here is to use a blacklist instead of a whitelist.
The fact that their list is not namespace-specific is a bigger issue imo.