WaratekVRT Sign in

CVE-2025-53621

Severity6.9 Medium CVSS 3.1
Fixed in7.6.4, 8.2, 9.1
WeaknessXML external entity (XXE) (CWE-611)
Published15 Jul 2025
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published a year ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 0.44% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

  • Protection full XXE
  • Action available security rule
  • Review automated Inferred
  • Record active
Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR xxe security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-611: XML External Entity Reference.
Candidate fix https://github.com/DSpace/DSpace/pull/11032 : a pull request: the change under review

How to mitigate CVE-2025-53621

Upgrade the affected software to a release that fixes it: 7.6.4, 8.2 or 9.1. Until you can, Waratek RASP blocks exploitation with its XXE rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.dspace:dspace-api 0 7.6.4 unbounded
org.dspace:dspace-api 8.0 8.2 unbounded
org.dspace:dspace-api 9.0 9.1 unbounded

Products and versions

1 product, 3 version entries
SourceVendorProductSchemeAffected versions
osv org.dspace dspace-api generic < 7.6.4 · ≥ 8.0 and < 8.2 · ≥ 9.0 and < 9.1

References

URLTags
https://github.com/DSpace/DSpace/pull/11032 pr
https://github.com/DSpace/DSpace/security/advisories/GHSA-jjwr-5cfh-7xwh WEB
https://github.com/DSpace/DSpace/pull/11032.patch WEB
https://github.com/DSpace/DSpace/pull/11034 WEB
https://github.com/DSpace/DSpace/pull/11034.patch WEB
https://github.com/DSpace/DSpace/pull/11035 WEB
https://github.com/DSpace/DSpace/pull/11035.patch WEB
https://github.com/DSpace/DSpace PACKAGE

Timeline

Published2025-07-15By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.