# CVE-2021-23900: Uncaught Exception leading to Denial of Service in json-sanitizer

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.13%, higher than 82% of CVEs (2026-12-01)
- Published: 2021-01-13T15:50:51.000Z
- Modified: 2026-06-17T03:39:00.377Z
- Also known as: GHSA-8rf5-92jh-3vc9
- Weaknesses: CWE-248
- Assigned by: mitre

## Description

OWASP json-sanitizer before 1.2.2 can output invalid JSON or throw an undeclared exception for crafted input. This may lead to denial of service if the application is not prepared to handle these situations.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- com.mikesamuel:json-sanitizer (Maven): before 1.2.2
- owasp json-sanitizer: before 1.2.2

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/OWASP/json-sanitizer/compare/v1.2.1...v1.2.2> (patch, third-party-advisory, web)
- <https://groups.google.com/g/json-sanitizer-support/c/dAW1AeNMoA0> (third-party-advisory, web)
- <https://github.com/OWASP/json-sanitizer/commit/a37f594f7378a1c76b3283e0dab9e1ab1dc0247e> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-23900> (advisory)

## Sources

- CVE List: [CVE-2021-23900](https://www.cve.org/CVERecord?id=CVE-2021-23900), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-8rf5-92jh-3vc9](https://github.com/advisories/GHSA-8rf5-92jh-3vc9), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-23900](https://nvd.nist.gov/vuln/detail/CVE-2021-23900), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-23900 · Whole record: https://cve.day/CVE-2021-23900.json · Rebuilt by cve.day 2026-11-25T22:57:59.360Z
