Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-53621

MEDIUM 6.9EPSS 54%

DSpace vulnerable to XML External Entity (XXE) injection in import via Simple Archive Format (SAF) or import from external sources

Also known as GHSA-jjwr-5cfh-7xwh

Mitigation

  • Upgrade org.dspace:dspace-api to one of 7.6.4, 8.2, 9.1 (or later in the same release line).

Who should check

  • Projects that depend on Maven package org.dspace:dspace-api (< 7.6.4)
  • Anyone running DSpace < 7.6.4; >= 8.0, < 8.2; >= 9.0, < 9.1

Vulnerability facts

Affected
org.dspace:dspace-api < 7.6.4
Fixed in
7.6.4, 8.2, 9.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
6.9 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:N/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: High
  • User interaction: Required
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: None
  • Availability impact: Low
EPSS
0.82% chance of exploitation in 30 days (percentile 54, 2026-11-26)
CWE
CWE-611
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Maven org.dspace:dspace-api< 7.6.47.6.4, 8.2, 9.1osv
DSpace< 7.6.4; >= 8.0, < 8.2; >= 9.0, < 9.1—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-53621. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-53621.md
Affected: org.dspace:dspace-api < 7.6.4
Fixed in: 7.6.4, 8.2, 9.1

Steps:
1. Search this machine and project for org.dspace:dspace-api (Maven), DSpace: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-53621 being exploited?

There is no confirmed exploitation: CVE-2025-53621 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.82% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-53621?

Medium: CVSS 6.9 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2025-53621?

org.dspace:dspace-api < 7.6.4.

Is there a fix for CVE-2025-53621?

Yes. Fixed in 7.6.4, 8.2, 9.1. Upgrade org.dspace:dspace-api to one of 7.6.4, 8.2, 9.1 (or later in the same release line).

How do I check if I'm affected by CVE-2025-53621?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors