XML External Entity Injection Vulnerability in DSpace Repository Software
CVE-2025-53621
What is CVE-2025-53621?
The DSpace repository software has a vulnerability that allows XML External Entity (XXE) injection due to the failure to disable external entities during XML parsing. This affects all versions prior to 7.6.4, 8.2, and 9.1. When XML files are imported, whether via command-line or user interface, these entities could lead to connections to malicious sites or local file read access by the Tomcat user. Sensitive data such as server configurations or files may be exposed, posing a significant risk if untrusted DSpace administrators unintentionally import malicious data. To mitigate this risk, immediate upgrading to a patched version is advised, or alternatively, implementing manual patches and best practices to assess SAF archives thoroughly.
Affected Version(s)
DSpace < 7.6.4 < 7.6.4
DSpace >= 8.0, < 8.2 < 8.0, 8.2
DSpace >= 9.0, < 9.1 < 9.0, 9.1