{"id":"GHSA-5634-rv46-48jf","aliases":[],"status":"published","title":"Cross-Site Scripting in bleach","description":"All versions of `bleach` are vulnerable to Cross-Site Scripting. It is possible to bypass the package's HTML sanitization with payloads such as `\"\u003c\u003cscript\u003e\u003c\u003c/script\u003escript\u003ealert('xss');\u003c/\u003cscript\u003e\u003c\u003c/script\u003escript\u003e\"` regardless of the passed options. This may allow attackers to execute arbitrary JavaScript in the victim's browser.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2020-09-03T17:13:45Z","modified":"2023-01-09T05:03:57Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"bleach","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.0"}]}]},{"source":"osv","ecosystem":"npm","package":"bleach","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0"}]}]}],"references":[{"url":"https://www.npmjs.com/advisories/1034","tags":["web"]},{"url":"https://github.com/advisories/GHSA-5634-rv46-48jf"}],"sources":{"ghsa":[{"id":"GHSA-5634-rv46-48jf","title":"Cross-Site Scripting in bleach","description":"All versions of `bleach` are vulnerable to Cross-Site Scripting. It is possible to bypass the package's HTML sanitization with payloads such as `\"\u003c\u003cscript\u003e\u003c\u003c/script\u003escript\u003ealert('xss');\u003c/\u003cscript\u003e\u003c\u003c/script\u003escript\u003e\"` regardless of the passed options. This may allow attackers to execute arbitrary JavaScript in the victim's browser.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","status":"published","published":"2020-09-03T17:13:45Z","modified":"2023-01-09T05:03:57Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:07.581563Z"}],"osv":[{"id":"GHSA-5634-rv46-48jf","title":"Cross-Site Scripting in bleach","description":"All versions of `bleach` are vulnerable to Cross-Site Scripting. It is possible to bypass the package's HTML sanitization with payloads such as `\"\u003c\u003cscript\u003e\u003c\u003c/script\u003escript\u003ealert('xss');\u003c/\u003cscript\u003e\u003c\u003c/script\u003escript\u003e\"` regardless of the passed options. This may allow attackers to execute arbitrary JavaScript in the victim's browser.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","status":"published","published":"2020-09-03T17:13:45Z","modified":"2020-08-31T18:44:51Z","cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:37.864461Z"}]}}
