In DiffPlug Spotless before 1.20.0 (library and Maven plugin) and before 3.20.0 (Gradle…
Priority LOW 36CWE-611Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
EPSS 0.01499 74th percentileScored 2026-11-07
Fix Fixed com.diffplug.spotless:spotless-plugin-gradle (Maven): 3.20.0com.diffplug.spotless:spotless-maven-plugin (Maven): 1.20.0
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | com.diffplug.spotless:spotless-plugin-gradle (Maven) | before 3.20.0 | 3.20.0 | Patch available | GHSA-7v35-qwwj-p98g |
| — | com.diffplug.spotless:spotless-maven-plugin (Maven) | before 1.20.0 | 1.20.0 | Patch available | GHSA-7v35-qwwj-p98g |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- com.diffplug.spotless:spotless-plugin-gradle (Maven) Vendor— Affected before 3.20.0 Fixed in 3.20.0 Patch available GHSA-7v35-qwwj-p98g
- com.diffplug.spotless:spotless-maven-plugin (Maven) Vendor— Affected before 1.20.0 Fixed in 1.20.0 Patch available GHSA-7v35-qwwj-p98g
Remediation
- Fix · GHSA-7v35-qwwj-p98g com.diffplug.spotless:spotless-plugin-gradle (Maven) Fixed in 3.20.0 Advisory →
- Fix · GHSA-7v35-qwwj-p98g com.diffplug.spotless:spotless-maven-plugin (Maven) Fixed in 1.20.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2019-9843
- 2026-10-03 Alias added: GHSA-7v35-qwwj-p98g
References
Advisory 5
- https://github.com/diffplug/spotless/blob/master/plugin-maven/CHANGES.md#version-1200---march-14th-2018-javadoc-jcenter
- https://github.com/diffplug/spotless/issues/358
- https://github.com/diffplug/spotless/blob/master/plugin-gradle/CHANGES.md#version-3200---march-11th-2018-javadoc-jcenter
- https://github.com/diffplug/spotless/pull/369
- https://nvd.nist.gov/vuln/detail/CVE-2019-9843
Sources
- CVE-2019-9843 · CVE Program
- CVE-2019-9843 · NVD
- FIRST EPSS
- GHSA-7v35-qwwj-p98g · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences