com.diffplug.spotless:spotless-maven-plugin@1.0.0.BETA3 vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the com.diffplug.spotless:spotless-maven-plugin 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-maven-plugin is a maven 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-maven-plugin to version 1.20.0 or higher.

[,1.20.0)