XML external entity injection in DSpace
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
DSpace open source software is a repository application which provides durable access to digital resources. Two related XML External Entity (XXE) injection possibilities impact all versions of DSpace prior to 7.6.4, 8.2, and 9.1. External entities are not disabled when parsing XML files during import of an archive (in Simple Archive Format), either from command-line (`./dspace import` command) or from the "Batch Import (Zip)" user interface feature. External entities are also not explicitly disabled when parsing XML responses from some upstream services (ArXiv, Crossref, OpenAIRE, Creative Commons) used in import from external sources via the user interface or REST API. An XXE injection in these files may result in a connection being made to an attacker's site or a local path readable by the Tomcat user, with content potentially being injected into a metadata field. In the latter case, this may result in sensitive content disclosure, including retrieving arbitrary files or configurations from the server where DSpace is running. The Simple Archive Format (SAF) importer / Batch Import (Zip) is only usable by site administrators (from user interface / REST API) or system administrators (from command-line). Therefore, to exploit this vulnerability, the malicious payload would have to be provided by an attacker and trusted by an administrator, who would trigger the import. The fix is included in DSpace 7.6.4, 8.2, and 9.1. Please upgrade to one of these versions. For those who cannot upgrade immediately, it is possible to manually patch the DSpace backend. One may also apply some best practices, though the protection provided is not as complete as upgrading. Administrators must carefully inspect any SAF archives (they did not construct themselves) before importing. As necessary, affected external services can be disabled to mitigate the ability for payloads to be delivered via external service APIs.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| DSpace | DSpace | before 7.6.4; 8.0 to before 8.2; 9.0 to before 9.1 | 7.6.4, 8.2, 9.1 | Patch available | CNA |
| — | org.dspace:dspace-api (Maven) | before 7.6.4 | 7.6.4 | Patch available | GHSA-jjwr-5cfh-7xwh |
| — | org.dspace:dspace-api (Maven) | 8.0 to before 8.2 | 8.2 | Patch available | GHSA-jjwr-5cfh-7xwh |
| — | org.dspace:dspace-api (Maven) | 9.0 to before 9.1 | 9.1 | Patch available | GHSA-jjwr-5cfh-7xwh |
- DSpace VendorDSpace Affected before 7.6.4; 8.0 to before 8.2; 9.0 to before 9.1 Fixed in 7.6.4, 8.2, 9.1 Patch available CNA
- org.dspace:dspace-api (Maven) Vendor— Affected before 7.6.4 Fixed in 7.6.4 Patch available GHSA-jjwr-5cfh-7xwh
- org.dspace:dspace-api (Maven) Vendor— Affected 8.0 to before 8.2 Fixed in 8.2 Patch available GHSA-jjwr-5cfh-7xwh
- org.dspace:dspace-api (Maven) Vendor— Affected 9.0 to before 9.1 Fixed in 9.1 Patch available GHSA-jjwr-5cfh-7xwh
Remediation
- Fix · CNA DSpace (DSpace) Fixed in 7.6.4, 8.2, 9.1
- Fix · GHSA-jjwr-5cfh-7xwh org.dspace:dspace-api (Maven) Fixed in 7.6.4 Advisory →
- Fix · GHSA-jjwr-5cfh-7xwh org.dspace:dspace-api (Maven) Fixed in 8.2 Advisory →
- Fix · GHSA-jjwr-5cfh-7xwh org.dspace:dspace-api (Maven) Fixed in 9.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-53621
- 2026-10-03 Alias added: GHSA-jjwr-5cfh-7xwh
References
Other 8
- https://github.com/DSpace/DSpace/security/advisories/GHSA-jjwr-5cfh-7xwh
- 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
More DSpace vulnerabilities
- TI-2022-13234 Path traversal vulnerabilities in DSpace JSPUI submission upload CVSS 3.1HIGH 8.2
- TI-2026-36736 DSpace: Remote Code Execution (RCE) possible in Velocity Templates used by LDN CVSS 3.1HIGH 8.0
- TI-2022-13235 Path traversal vulnerability in Simple Archive Format package import in DSpace CVSS 3.1HIGH 7.2
- TI-2019-04922 SPARQL Injection in VIVO Vitro v1.10.0 allows a remote attacker to execute arbitrary… CVSS 3.0HIGH 7.5
- TI-2016-08766 The XMLUI feature in DSpace before 3.6, 4.x before 4.5, and 5.x before 5.5 allows… CVSS 3.0HIGH 7.5
- TI-2021-18028 Communities and collections administrators can escalate their privilege up to system administrator CVSS 3.1HIGH 7.2
Sources
- CVE-2025-53621 · CVE Program
- CVE-2025-53621 · NVD
- FIRST EPSS
- GHSA-jjwr-5cfh-7xwh · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences