bleach icon indicating copy to clipboard operation
bleach copied to clipboard

:no_entry_sign: minimalistic HTML sanitizer for node.js

Results 6 bleach issues
Sort by recently updated
recently updated
newest added

Hi, I am not able to sanitize encoded URL as see below: http://localhost:3000/tv/%3Cscript%3Easd12569%3C/script%3E. we are also to sanitize if url is coming as : http://localhost:3000/tv/asd12569 Can you please help on...

[https://srcclr.com/bleach/javascript/npm/c-12769/vulnerabilities]

Hello together, I was just wondering, whether I misunderstand your tool, or foud a bug. When I run the following code in Node.JS: ```javascript const bleach = require('bleach'), util =...

https://github.com/ecto/bleach/blob/master/filters/youtube.js#L10 This line of code is invalid in strict mode, which will prevent the library from being used with many JavaScript tools. It should be safe to just remove the...

The main aim here is to avoid constructions like this from resulting in a script tag in the resulting output: ``` This is HTML with a SCRIPT ``` The other...

It appears these broke with the switch from `ent` to `he`.