{"id":"GHSA-mjjq-c88q-qhr6","summary":"Cross-Site Scripting in dompurify","details":"Versions of `dompurify` prior to 2.0.7 are vulnerable to Cross-Site Scripting (XSS). It is possible to bypass the package sanitization through Mutation XSS, which may allow an attacker to execute arbitrary JavaScript in a victim's browser.\n\n\n## Recommendation\n\nUpgrade to version 2.0.7 or later.","modified":"2021-09-29T20:13:06Z","published":"2020-09-03T21:22:00Z","database_specific":{"github_reviewed_at":"2020-08-31T18:51:30Z","nvd_published_at":null,"cwe_ids":["CWE-79"],"severity":"CRITICAL","github_reviewed":true},"references":[{"type":"PACKAGE","url":"https://github.com/cure53/DOMPurify"},{"type":"WEB","url":"https://github.com/cure53/DOMPurify/releases/tag/2.0.7"},{"type":"WEB","url":"https://www.npmjs.com/advisories/1223"}],"affected":[{"package":{"name":"dompurify","ecosystem":"npm","purl":"pkg:npm/dompurify"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.0.7"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-mjjq-c88q-qhr6/GHSA-mjjq-c88q-qhr6.json"}}],"schema_version":"1.9.0"}