XML External Entity (XXE) Injection in JDOM
High severity
GitHub Reviewed
Published
Jul 27, 2021
to the GitHub Advisory Database
•
Updated Feb 10, 2025
Description
Published by the National Vulnerability Database
Jun 16, 2021
Reviewed
Jul 27, 2021
Published to the GitHub Advisory Database
Jul 27, 2021
Last updated
Feb 10, 2025
An XXE issue in SAXBuilder in JDOM through 2.0.6 allows attackers to cause a denial of service via a crafted HTTP request. As a workaround, to avoid external entities being expanded, one can call
builder.setExpandEntities(false)
and they won't be expanded.References