{"id":"GHSA-mm8j-9x84-m9cv","summary":"Arbitrary code injection in json-sanitizer","details":"OWASP json-sanitizer before 1.2.2 may emit closing SCRIPT tags and CDATA section delimiters for crafted input. This allows an attacker to inject arbitrary HTML or XML into embedding documents.","aliases":["CVE-2021-23899"],"modified":"2023-11-08T04:05:13.858556Z","published":"2021-06-16T17:34:18Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-04-06T21:44:01Z","nvd_published_at":"2021-01-13T16:15:00Z","cwe_ids":["CWE-611"],"severity":"CRITICAL"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23899"},{"type":"WEB","url":"https://github.com/OWASP/json-sanitizer/commit/a37f594f7378a1c76b3283e0dab9e1ab1dc0247e"},{"type":"WEB","url":"https://github.com/OWASP/json-sanitizer/compare/v1.2.1...v1.2.2"},{"type":"WEB","url":"https://groups.google.com/g/json-sanitizer-support/c/dAW1AeNMoA0"}],"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.2"}]}],"versions":["1.0","1.1","1.2.0","1.2.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-mm8j-9x84-m9cv/GHSA-mm8j-9x84-m9cv.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}