CVE-2024-38364 DSpace Cross Site Scripting (XSS) via a deposited HTML/XML document
Attackers can execute malicious JavaScript in victims' browsers by uploading crafted HTML/XML/JS files to DSpace, potentially leading to session hijacking.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-38364?
CVE-2024-38364 is a low-severity cross-site scripting vulnerability in DSpace, published on 25 Jun 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2024-38364?
2 open source packages ship an affected version, including org.dspace:dspace-server-webapp.
| Package | Affected | Fixed in |
|---|---|---|
org.dspace:dspace-server-webapp Maven | From 7.0 | 7.6.2 |
org.dspace:dspace-server-webapp Maven | From 7.0 | 7.6.2 |
How do I fix CVE-2024-38364?
Upgrade org.dspace:dspace-server-webapp to 7.6.2 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-38364 being exploited?
There is no known exploitation of CVE-2024-38364 in the wild and no public exploit code.
Sources
Also known as GHSA-94cc-xjxr-pwvf.