XML External Entity (XXE) Injection in JDOM
High severity
GitHub Reviewed
Published
Jul 27, 2021
to the GitHub Advisory Database
•
Updated Jan 27, 2023
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
Jan 27, 2023
An XXE issue in SAXBuilder in JDOM through 2.0.6 allows attackers to cause a denial of service via a crafted HTTP request. At this time there is not released fixed version of JDOM. As a workaround, to avoid external entities being expanded, one can call
builder.setExpandEntities(false)
and they won't be expanded.References