{"id":"GHSA-g8jj-899q-8x3j","summary":"Cross-site scripting in json-sanitizer","details":"OWASP json-sanitizer before 1.2.1 allows XSS. An attacker who controls a substring of the input JSON, and controls another substring adjacent to a SCRIPT element in which the output is embedded as JavaScript, may be able to confuse the HTML parser as to where the SCRIPT element ends, and cause non-script content to be interpreted as JavaScript.","aliases":["CVE-2020-13973"],"modified":"2023-11-01T04:51:51.308927Z","published":"2022-02-10T23:04:13Z","database_specific":{"github_reviewed_at":"2021-05-13T19:52:04Z","nvd_published_at":"2020-06-09T04:15:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13973"},{"type":"WEB","url":"https://github.com/OWASP/json-sanitizer/pull/20"}],"affected":[{"package":{"name":"com.mikesamuel:json-sanitizer","ecosystem":"Maven","purl":"pkg:maven/com.mikesamuel/json-sanitizer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.1"}]}],"versions":["1.0","1.1","1.2.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-g8jj-899q-8x3j/GHSA-g8jj-899q-8x3j.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"}]}