CVE-2021-23792 json
XML External Entity (XXE) Injection
published 2022-05-06 4 y ago modified 2026-09-10 1 mo ago also GHSA-pjch-4g28-fxx7 , EUVD-2022-4783
- cvss
- 7.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 64%
- public exploits
- 0
- none known
Summary
The package com.twelvemonkeys.imageio:imageio-metadata before 3.7.1 are vulnerable to XML External Entity (XXE) Injection due to an insecurely initialized XML parser for reading XMP Metadata. An attacker can exploit this vulnerability if they are able to supply a file (e.g. when an online profile picture is processed) with a malicious XMP segment. If the XMP metadata of the uploaded image is parsed, then the XXE vulnerability is triggered.
Patch / fix
- maven com.twelvemonkeys.imageio:imageio-metadata 3.7.1
- n/a com.twelvemonkeys.imageio:imageio-metadata 3.7.1
- libtwelvemonkeys-java Debian 14, Debian 13, Debian 12 3.8.0-1
debian advisories DEBIAN-CVE-2021-23792
Exploit prediction
1.07% chance of exploitation in the next 30 days, higher than 64% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | com.twelvemonkeys.imageio:imageio-metadata | <3.7.1 |
3.7.1 |
Affected products
- n/a com.twelvemonkeys.imageio:imageio-metadata
Classification
- Weakness
-
- CWE-611 Improper Restriction of XML External Entity Reference
References
-
github.com
/haraldk/TwelveMonkeys/commit/da4efe98bf09e1cce91b7633cb251958a200fc80
web, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-JAVA-COMTWELVEMONKEYSIMAGEIO-2316763
web, patch, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-23792
advisory
-
github.com
/haraldk/TwelveMonkeys
package
Sources
- CVE List CVE-2021-23792
- GitHub Advisory GHSA-pjch-4g28-fxx7
- NVD CVE-2021-23792
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.