-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
module.exports = global.DOMPurify = global.DOMPurify || resolveDOMPurify();
Just a thought about security: if anyone is able to install his do-nothing function somehow like
global.DOMPurify = (content, opts) => content
he could disable the sanitizing globally because his function would be returned by this package instead of Dompurify?
Metadata
Metadata
Assignees
Labels
No labels