sanitize-html v2.7.3 Release Notes

Release Date: 2022-10-24 // over 1 year ago
    • ๐Ÿ“š If allowedTags is falsy but not exactly false, then do not assume that all tags are allowed. Rather, allow no tags in this case, to be on the safe side. This matches the existing documentation and fixes issue #176. Thanks to Kedar Chandrayan for the fix.

Previous changes from v2.7.2

    • ๐Ÿ›  Closing tags must agree with opening tags. This fixes issue #549, in which closing tags not associated with any permitted opening tag could be passed through. No known exploit exists, but it's better not to permit this. Thanks to Kedar Chandrayan for the report and the fix.