Skip to main content
← All vulnerabilities
CVE-2019-9843GHSA-7V35-QWWJ-P98G

In DiffPlug Spotless before 1.20.0 (library and Maven plugin) and before 3.20.0 (Gradle plugin), the XML parser would resolve external entit

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.20.0, 1.20.0
None on Exploit-DB, Metasploit or 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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • com.diffplug.spotless:spotless-plugin-gradleMaven

    fixed in 3.20.0

  • com.diffplug.spotless:spotless-maven-pluginMaven

    fixed in 1.20.0

References 5

GitHub · diffplug/spotless

lists.apache.org