All reports
High

Improper Restriction of XML External Entity Reference in DiffPlug Spotless

Affected versions

Affected versions
< 1.20.0
Fixed version
1.20.0
Affected versions
< 3.20.0
Fixed version
3.20.0

Exploitation

CVE-2019-9843

Probability of exploitation in the next 30 days: 1.50%

FIRST EPSS · 2026-11-24

Description

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.

Links