CVE-2021-23792
CRITICAL 9.8CVSS 3.1External Entity Reference in TwelveMonkeys ImageIO
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.
- Published
- 6 May 2022
- Last modified
- 10 Sep 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-611
- Also known as
- GHSA-pjch-4g28-fxx7SNYK-JAVA-COMTWELVEMONKEYSIMAGEIO-2316763
- Sources
- NVDJSONOSV GHSA-pjch-4g28-fxx7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | twelvemonkeys_project | twelvemonkeyscpe:2.3:a:twelvemonkeys_project:twelvemonkeys:*:*:*:*:*:*:*:* |
< 3.7.1 | 3.7.1 |
| OSV | Maven | com.twelvemonkeys.imageio:imageio-metadata | < 3.7.1 | 3.7.1 |
References
- https://github.com/haraldk/TwelveMonkeys/commit/da4efe98bf09e1cce91b7633cb251958a200fc80 · Patch, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JAVA-COMTWELVEMONKEYSIMAGEIO-2316763 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-23792 · ADVISORY
- https://github.com/haraldk/TwelveMonkeys · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 6 May 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 7 May 2022)