ADVISORIES

GitHub Advisory Database

GHSA-2363-cqg2-863c

XML External Entity (XXE) Injection in JDOM

Details

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.jdom:jdom2
All versions before 2.0.6.1 (fixed in 2.0.6.1)
Mavenorg.jdom:jdom
All versions up to and including 2.0.2

References