MEDIUM6.1
GHSA-3j7m-hmh3-9jmp
Cross-Site Scripting in sanitize-html
Quick fix
GHSA-3j7m-hmh3-9jmp — sanitize-html: upgrade to the fixed version with the command below.
npm install sanitize-html@1.4.3Details
Affected versions of `sanitize-html` do not sanitize input recursively, which may allow an attacker to execute arbitrary Javascript.
## Recommendation
Update to version 1.4.3 or later.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-1000237[ADVISORY]
- https://github.com/apostrophecms/sanitize-html/issues/29[WEB]
- https://github.com/punkave/sanitize-html/issues/29[WEB]
- https://github.com/apostrophecms/sanitize-html/commit/762fbc7bba389f3f789cc291c1eb2b64f60f2caf[WEB]
- https://raw.githubusercontent.com/distributedweaknessfiling/cvelist/master/2016/1000xxx/CVE-2016-1000237.json[WEB]
- https://www.npmjs.com/advisories/135[WEB]