com.diffplug.spotless:spotless-plugin-gradle@3.8.0 vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the com.diffplug.spotless:spotless-plugin-gradle package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
XML External Entity (XXE) Injection

com.diffplug.spotless:spotless-plugin-gradle is a gradle plugin that keeps your code Spotless.

Affected versions of this package are vulnerable to XML External Entity (XXE) Injection. 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.

How to fix XML External Entity (XXE) Injection?

Upgrade com.diffplug.spotless:spotless-plugin-gradle to version 3.20.0 or higher.

[,3.20.0)