Releases: OWASP/json-sanitizer
Releases · OWASP/json-sanitizer
v1.2.2
v1.2.1
Users of com.mikesamuel:json-sanitizer should upgrade to version 1.2.1 or later.
A bug in com.mikesamuel:json-sanitizer:1.2.0 and prior allows an attacker who controls the content of a JSON string that is later embedded in an HTML <script>
element to confuse the HTML parser as to where the <script>
element ends. If the attacker also controls other content, e.g. a string of non-JavaScript content adjacent to the <script>
element, this can lead to arbitrary JavaScript execution.
See #20 (comment) for details.
1.2.0
Site documentation update