# DSpace is vulnerable to XML External Entity injection during archive imports

Advisory record · `GHSA-jjwr-5cfh-7xwh`

- **Identifiers:** `GHSA-jjwr-5cfh-7xwh` · `CVE-2025-53621`
- **State:** Confirmed
- **Severity:** CVSS 6.9 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-611](https://cwe.mitre.org/data/definitions/611.html)
- **Tags:** [XML external entities (XXE)](https://agentprime.io/advisories/tag/xxe.md)
- **Published:** 15 Jul 2025
- **Updated:** 15 Jul 2025
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 15 Jul 2025, 18:04 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.dspace:dspace-api` (Maven): affected `<7.6.4 || >=8.0, <8.2 || >=9.0, <9.1`; fixed in `7.6.4`, `8.2`, `9.1`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> DSpace (org.dspace:dspace-api, Maven) versions before 7.6.4, 8.0 through 8.1, and 9.0 are affected by XML External Entity injection when parsing archives in the Simple Archive Format and when parsing responses from external import services. An attacker who can supply a malicious archive that an administrator imports, or compromise an upstream service, could read local files or trigger requests to remote URLs. Upgrade to 7.6.4, 8.2, or 9.1; the source gives workarounds only as inspection of archives before import and disabling external services.

Written 7 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.9 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:N/A:L`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0044, the 38th percentile, on 8 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:10 UTC: First seen by agentprime
- 31 Oct 2026, 15:10 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-jjwr-5cfh-7xwh)

## Sources

- [GitHub Advisory Database: GHSA-jjwr-5cfh-7xwh](https://github.com/advisories/GHSA-jjwr-5cfh-7xwh)
- [OSV: GHSA-jjwr-5cfh-7xwh](https://osv.dev/vulnerability/GHSA-jjwr-5cfh-7xwh)
- <https://github.com/DSpace/DSpace/security/advisories/GHSA-jjwr-5cfh-7xwh>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-53621>
- <https://github.com/DSpace/DSpace/pull/11032>
- <https://github.com/DSpace/DSpace/pull/11032.patch>
- <https://github.com/DSpace/DSpace/pull/11034>
- <https://github.com/DSpace/DSpace/pull/11034.patch>
- <https://github.com/DSpace/DSpace/pull/11035>
- <https://github.com/DSpace/DSpace/pull/11035.patch>
- <https://github.com/DSpace/DSpace>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-jjwr-5cfh-7xwh>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-jjwr-5cfh-7xwh/>. Everything for agents: <https://agentprime.io/llms.txt>.
