# CVE-2023-42445: Possible local file exfiltration by XML External entity injection

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.78%, higher than 57% of CVEs (2026-12-02)
- Published: 2023-10-06T13:52:02.982Z
- Modified: 2026-09-08T08:47:49.873Z
- Also known as: BIT-GRADLE-2023-42445, GHSA-mrff-q8qj-xvg8
- Weaknesses: CWE-611
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- gradle gradle: < 8.4; < 7.6.3; before 7.6.3; from 8.0.0 before 8.4.0
- gradle (Bitnami): before 7.6.3; from 8.0.0 before 8.4.0

## Every score

- GitHub_M: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/gradle/gradle/security/advisories/GHSA-mrff-q8qj-xvg8> (advisory, vendor-advisory)
- <https://github.com/gradle/gradle/releases/tag/v7.6.3> (article, release-notes)
- <https://github.com/gradle/gradle/releases/tag/v8.4.0> (article, release-notes)
- <https://security.netapp.com/advisory/ntap-20231110-0006/> (advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-42445> (web)

## Sources

- CVE List: [CVE-2023-42445](https://www.cve.org/CVERecord?id=CVE-2023-42445), CVE Terms of Use, modified 2025-06-16
- NVD: [CVE-2023-42445](https://nvd.nist.gov/vuln/detail/CVE-2023-42445), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GRADLE-2023-42445](https://osv.dev/vulnerability/BIT-GRADLE-2023-42445), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-42445 · Whole record: https://cve.day/CVE-2023-42445.json · Rebuilt by cve.day 2026-11-25T22:58:28.500Z
