SecurityContext

CVE-2021-23792: Twelvemonkeys ImageIO - XML External Entity Injection

  • Cve: CVE-2021-23792
  • Name: Twelvemonkeys ImageIO - XML External Entity Injection
  • Description: 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.
  • Impact: Attackers can execute XXE attacks to access sensitive data or cause denial of service during image processing.
  • Remediation: Update to version 3.7.1 or later.
  • Vulnerability type: xml_external_entity_injection
  • Vulnerability impact: information_disclosure, denial_of_service
  • Requirement type: user_interaction
  • Requirements: Attacker needs to supply a malicious image file
  • Labels source: projectdiscovery
  • Severity: critical
  • 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
  • Epss score: 0.01066
  • Epss percentile: 0.65612
  • Assignee: [email protected]
  • Published at: 2022-05-06T20:15:07Z
  • Age in days: 1663
  • Modified at: 2026-06-17T03:38:53Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-23792
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-611Improper Restriction of XML External Entity Reference

References

UrlSourceTags
https://github.com/haraldk/TwelveMonkeys/commit/da4efe98bf09e1cce91b7633cb251958a200fc80nvdPatch, Third Party Advisory
https://snyk.io/vuln/SNYK-JAVA-COMTWELVEMONKEYSIMAGEIO-2316763nvdPatch, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
twelvemonkeys_project:twelvemonkeys< 3.7.1nonvd/v1/products/twelvemonkeys_project/twelvemonkeys

Projects

RepositoryLink kindsIndexedUrl
haraldk/twelvemonkeyscommit, packageyes/v1/repositories/haraldk/twelvemonkeys

Index

  • Repositories: 3
  • Repositories high signal: 3
  • Packages: 1

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts