Read the docs
TI-2019-07225 Aliases CVE-2019-9843GHSA-7v35-qwwj-p98g

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

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—com.diffplug.spotless:spotless-plugin-gradle (Maven)before 3.20.03.20.0Patch availableGHSA-7v35-qwwj-p98g
—com.diffplug.spotless:spotless-maven-plugin (Maven)before 1.20.01.20.0Patch availableGHSA-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

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:diffplug:gradle:*:*:*:*:*:spotless:*:*before 3.20.0VulnerableDiffplug
cpe:2.3:a:diffplug:maven:*:*:*:*:*:spotless:*:*before 1.20.0VulnerableDiffplug
  • cpe:2.3:a:diffplug:gradle:*:*:*:*:*:spotless:*:* Versions before 3.20.0 Vulnerable ·Diffplug
  • cpe:2.3:a:diffplug:maven:*:*:*:*:*:spotless:*:* Versions before 1.20.0 Vulnerable ·Diffplug

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

  1. 2026-10-02 Threatist record created from CVE-2019-9843
  2. 2026-10-03 Alias added: GHSA-7v35-qwwj-p98g

References

Sources