{"id":"GHSA-3j7m-hmh3-9jmp","summary":"Cross-Site Scripting in sanitize-html","details":"Affected versions of `sanitize-html` do not sanitize input recursively, which may allow an attacker to execute arbitrary Javascript.\n\n\n## Recommendation\n\nUpdate to version 1.4.3 or later.","aliases":["CVE-2016-1000237"],"modified":"2023-11-08T03:58:08.213705Z","published":"2020-04-16T03:14:47Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2020-04-16T02:54:08Z","nvd_published_at":null,"cwe_ids":["CWE-79"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-1000237"},{"type":"WEB","url":"https://github.com/apostrophecms/sanitize-html/issues/29"},{"type":"WEB","url":"https://github.com/punkave/sanitize-html/issues/29"},{"type":"WEB","url":"https://github.com/apostrophecms/sanitize-html/commit/762fbc7bba389f3f789cc291c1eb2b64f60f2caf"},{"type":"WEB","url":"https://raw.githubusercontent.com/distributedweaknessfiling/cvelist/master/2016/1000xxx/CVE-2016-1000237.json"},{"type":"WEB","url":"https://www.npmjs.com/advisories/135"}],"affected":[{"package":{"name":"sanitize-html","ecosystem":"npm","purl":"pkg:npm/sanitize-html"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.4.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/04/GHSA-3j7m-hmh3-9jmp/GHSA-3j7m-hmh3-9jmp.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}