CVE-2023-42445

Possible local file exfiltration by XML External entity injection

MEDIUM
5.3
CVSS Score
Published: October 6, 2023 at 01:52 PM UTC
Updated: June 17, 2026 at 06:23 AM UTC
1 product affected across 1 vendorGradle

Using gradle by gradle?

Get instant alerts when new vulnerabilities affect gradle - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.3
Exploit prediction
EPSS 0.8%
SSVC
No known exploit

Description

Gradle is a build tool with a focus on build automation and support for multi-language development. In some cases, when Gradle parses XML files, resolving XML external entities is not disabled. Combined with an Out Of Band XXE attack (OOB-XXE), just parsing XML can lead to exfiltration of local text files to a remote server. Gradle parses XML files for several purposes. Most of the time, Gradle parses XML files it generated or were already present locally. Only Ivy XML descriptors and Maven POM files can be fetched from remote repositories and parsed by Gradle. In Gradle 7.6.3 and 8.4, resolving XML external entities has been disabled for all use cases to protect against this vulnerability. Gradle will now refuse to parse XML files that have XML external entities.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 7.6.3v < 8.48.0.0 ≤ v < 8.4.0
Affected range stops below 7.6.3, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.4, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.4.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-611

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card