Skip to content
OpenAdvisories
Critical · 9.8 CVE-2021-23899 EUVD-2021-1360GHSA-mm8j-9x84-m9cv

Arbitrary code injection in json-sanitizer

Published Jan 13, 2021 · Updated Aug 3, 2024 · Assigned by mitre

Description

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.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven com.mikesamuel:json-sanitizer < 1.2.2 1.2.2 GHSA-mm8j-9x84-m9cv

References