CVE-2025-53621DSpace vulnerable to XML External Entity (XXE) injection in import via Simple Archive Format (SAF) or import from external sources
- 6.9MediumCVSS base score
- 0.44%Exploitation in 30 daysEPSS · top 61% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By GitHub_M
- 8 days later
· 8 days later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium6.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:N/A:L |
| NVDNVD · Deferred | 3.1 | Medium6.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:N/A:L |
- EPSS (exploitation in 30 days)
- 0.44% · top 61% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.9.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.dspace:dspace-apiGHSA-jjwr-5cfh-7xwh (opens in a new tab)
References
References7
- https://github.com/DSpace/DSpace/security/advisories/GHSA-jjwr-5cfh-7xwh (opens in a new tab)x_refsource_CONFIRM
- https://github.com/DSpace/DSpace/pull/11032 (opens in a new tab)x_refsource_MISC
- https://github.com/DSpace/DSpace/pull/11032.patch (opens in a new tab)x_refsource_MISC
- https://github.com/DSpace/DSpace/pull/11034 (opens in a new tab)x_refsource_MISC
- https://github.com/DSpace/DSpace/pull/11034.patch (opens in a new tab)x_refsource_MISC
- https://github.com/DSpace/DSpace/pull/11035 (opens in a new tab)x_refsource_MISC
- https://github.com/DSpace/DSpace/pull/11035.patch (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-21447 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-jjwr-5cfh-7xwh (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-53621)Record last updated .