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.
Metrics
CVSS 3.0 7.5/10
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://github.com/diffplug/spotless/blob/master/plugin-gradle/CHANGES.md#version-3200---march-11th-2018-javadoc-jcenterRelease Notes, Third Party Advisory
- https://github.com/diffplug/spotless/blob/master/plugin-maven/CHANGES.md#version-1200---march-14th-2018-javadoc-jcenterRelease Notes, Third Party Advisory
- https://github.com/diffplug/spotless/issues/358Issue Tracking, Third Party Advisory
- https://github.com/diffplug/spotless/pull/369Issue Tracking, Third Party Advisory
- https://lists.apache.org/thread.html/r7406e297228c42deeecdd12a576e39d63073faebf14b027b7608fdfd%40%3Cissues.iceberg.apache.org%3E
- https://github.com/diffplug/spotless/blob/master/plugin-gradle/CHANGES.md#version-3200---march-11th-2018-javadoc-jcenterRelease Notes, Third Party Advisory
- https://github.com/diffplug/spotless/blob/master/plugin-maven/CHANGES.md#version-1200---march-14th-2018-javadoc-jcenterRelease Notes, Third Party Advisory
- https://github.com/diffplug/spotless/issues/358Issue Tracking, Third Party Advisory
- https://github.com/diffplug/spotless/pull/369Issue Tracking, Third Party Advisory
- https://lists.apache.org/thread.html/r7406e297228c42deeecdd12a576e39d63073faebf14b027b7608fdfd%40%3Cissues.iceberg.apache.org%3E
Timeline
- Published
- Jun 28, 2019
- Last modified
- Jun 17, 2026
- NVD status
- Modified