# DSpace Cross Site Scripting (XSS) via a deposited HTML/XML document

Advisory record · `GHSA-94cc-xjxr-pwvf`

- **Identifiers:** `GHSA-94cc-xjxr-pwvf` · `CVE-2024-38364`
- **State:** Confirmed
- **Severity:** CVSS 2.6 Low
- **Critical:** No
- **Weakness (CWE):** [CWE-79](https://cwe.mitre.org/data/definitions/79.html)
- **Tags:** [Cross-site scripting (XSS)](https://agentprime.io/advisories/tag/xss.md)
- **Published:** 25 Jun 2024
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 25 Jun 2024, 17:07 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.dspace:dspace-server-webapp` (Maven): affected `>=7.0, <7.6.2`; fixed in `7.6.2`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> DSpace server webapp versions 7.0 through 7.6.1 (Maven org.dspace:dspace-server-webapp) are vulnerable to cross-site scripting when HTML, XML or JavaScript bitstreams are downloaded and the browser runs embedded scripts. An attacker needs Submitter privileges to upload the file, and the script runs when a visitor or logged-in user downloads it or follows a shared link. Upgrade to 7.6.2 or 8.0; on 7.6 or 7.6.1, setting webui.content_disposition_format in dspace.cfg blocks the attack.

Written 2 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 2.6 Low, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0039, the 34th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:17 UTC: First seen by agentprime
- 31 Oct 2026, 14:17 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-94cc-xjxr-pwvf)

## Sources

- [GitHub Advisory Database: GHSA-94cc-xjxr-pwvf](https://github.com/advisories/GHSA-94cc-xjxr-pwvf)
- [OSV: GHSA-94cc-xjxr-pwvf](https://osv.dev/vulnerability/GHSA-94cc-xjxr-pwvf)
- <https://github.com/DSpace/DSpace/security/advisories/GHSA-94cc-xjxr-pwvf>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-38364>
- <https://github.com/DSpace/DSpace/pull/8891>
- <https://github.com/DSpace/DSpace/pull/9638>
- <https://github.com/DSpace/DSpace/commit/f1059b4340857cca3dc4c45b1ebbadce6bb61c0b>
- <https://github.com/DSpace/DSpace>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-94cc-xjxr-pwvf>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-94cc-xjxr-pwvf/>. Everything for agents: <https://agentprime.io/llms.txt>.
