{"id":"GHSA-2ghm-r75j-pjx2","aliases":["CVE-2023-49146"],"title":"Cross-site Scripting in DOMSanitizer","description":"DOMSanitizer (aka dom-sanitizer) before 1.0.7 allows XSS via an SVG document because of mishandling of comments and greedy regular expressions.","severity":"medium","score":6.1,"published":"2023-11-23T00:30:58.000Z","modified":"2024-02-16T08:04:08.217Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"rhukster/dom-sanitizer","ranges":[{"events":[{"introduced":"0"},{"fixed":"1.0.7"}],"type":"ECOSYSTEM"}],"versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6"],"fixed":["1.0.7"]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2023-49146","https://github.com/rhukster/dom-sanitizer/commit/c2a98f27ad742668b254282ccc5581871d0fb601","https://github.com/rhukster/dom-sanitizer","https://github.com/rhukster/dom-sanitizer/compare/1.0.6...1.0.7"],"sources":[{"name":"OSV","id":"GHSA-2ghm-r75j-pjx2","modified":"2024-02-16T08:04:08.217056Z","url":"https://osv.dev/vulnerability/GHSA-2ghm-r75j-pjx2"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1}]}