Description
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.
Remediation
References
https://github.com/OWASP/json-sanitizer/pull/20
Related Vulnerabilities
CVE-2020-9480 Vulnerability in maven package org.apache.spark:spark-network-common_2.12
CVE-2023-36106 Vulnerability in maven package tech.powerjob:powerjob
CVE-2022-31070 Vulnerability in npm package @ffdc/nestjs-proxy
CVE-2022-46175 Vulnerability in npm package json5
CVE-2023-36479 Vulnerability in maven package org.eclipse.jetty.ee8:jetty-ee8-servlets