{"id":"GHSA-2ghm-r75j-pjx2","summary":"Cross-site Scripting in DOMSanitizer","details":"DOMSanitizer (aka dom-sanitizer) before 1.0.7 allows XSS via an SVG document because of mishandling of comments and greedy regular expressions.","aliases":["CVE-2023-49146"],"modified":"2024-02-16T08:04:08.217056Z","published":"2023-11-23T00:30:58Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2023-11-23T03:36:50Z","nvd_published_at":"2023-11-22T22:15:08Z","cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-49146"},{"type":"WEB","url":"https://github.com/rhukster/dom-sanitizer/commit/c2a98f27ad742668b254282ccc5581871d0fb601"},{"type":"PACKAGE","url":"https://github.com/rhukster/dom-sanitizer"},{"type":"WEB","url":"https://github.com/rhukster/dom-sanitizer/compare/1.0.6...1.0.7"}],"affected":[{"package":{"name":"rhukster/dom-sanitizer","ecosystem":"Packagist","purl":"pkg:composer/rhukster/dom-sanitizer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.7"}]}],"versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/11/GHSA-2ghm-r75j-pjx2/GHSA-2ghm-r75j-pjx2.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"}]}