GHSA-3j7m-hmh3-9jmp
Cross-Site Scripting in sanitize-html
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | sanitize-html | < 1.4.3 | 1.4.3 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2016-1000237
- https://github.com/apostrophecms/sanitize-html/issues/29
- https://github.com/punkave/sanitize-html/issues/29
- https://github.com/apostrophecms/sanitize-html/commit/762fbc7bba389f3f789cc291c1eb2b64f60f2caf
- https://raw.githubusercontent.com/distributedweaknessfiling/cvelist/master/2016/1000xxx/CVE-2016-1000237.json
- https://www.npmjs.com/advisories/135