Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLW1tOGotOXg4NC1tOWN2
Arbitrary code injection in json-sanitizer
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.
Permalink: https://github.com/advisories/GHSA-mm8j-9x84-m9cvJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLW1tOGotOXg4NC1tOWN2
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: almost 3 years ago
Updated: over 1 year ago
CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-mm8j-9x84-m9cv, CVE-2021-23899
References:
- https://nvd.nist.gov/vuln/detail/CVE-2021-23899
- https://github.com/OWASP/json-sanitizer/commit/a37f594f7378a1c76b3283e0dab9e1ab1dc0247e
- https://github.com/OWASP/json-sanitizer/compare/v1.2.1...v1.2.2
- https://groups.google.com/g/json-sanitizer-support/c/dAW1AeNMoA0
- https://github.com/advisories/GHSA-mm8j-9x84-m9cv
Blast Radius: 19.5
Affected Packages
maven:com.mikesamuel:json-sanitizer
Dependent packages: 36Dependent repositories: 97
Downloads:
Affected Version Ranges: < 1.2.2
Fixed in: 1.2.2
All affected versions: 1.2.0, 1.2.1
All unaffected versions: 1.2.2, 1.2.3