Arbitrary Code Injection Affecting com.mikesamuel:json-sanitizer Open this link in a new tab package, versions [,1.2.2)
Attack Complexity
High
Confidentiality
High
Integrity
High
Availability
High
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications-
snyk-id
SNYK-JAVA-COMMIKESAMUEL-1059419
-
published
14 Jan 2021
-
disclosed
14 Jan 2021
-
credit
Fabian Meumertzheim of Code Intelligence
Introduced: 14 Jan 2021
CVE-2021-23899 Open this link in a new tabHow to fix?
Upgrade com.mikesamuel:json-sanitizer
to version 1.2.2 or higher.
Overview
com.mikesamuel:json-sanitizer is a package that converts JSON-like content to a valid JSON.
Affected versions of this package are vulnerable to Arbitrary Code Injection. Affected versions 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.