XXE in Diffplug Gradle

CVE-2019-9843

In DiffPlug Spotless before 1.20.0 (library and Maven plugin) and before 3.20.0 (Gradle plugin), the XML parser would resolve external entities over both HTTP and HTTPS and didn't respect the resolveExternalEntities setting. For example, this allows disclosure of file contents to a MITM attacker if a victim performs a spotlessApply operation on an untrusted XML file.

Vulnerability class: XXE (XML External Entity)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.015 (73.4th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 73rd percentile — 73.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2019-9843: held from 0.015 to 0.015.

EPSS over last 30 days · oldest: 0.015 · newest: 0.015 · change: 0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2019-9843?
CVE-2019-9843 is a high-severity vulnerability in Diffplug Gradle, classified under Improper Restriction of XML External Entity Reference (XXE). CVSS score: 7.5/10. Published 2019-06-28.
How severe is CVE-2019-9843?
High severity. CVSS v3 base score is 7.5 out of 10.