Low, CVSS 2.6MavenPublished
DSpace Cross Site Scripting (XSS) via a deposited HTML/XML document
CVE-2024-38364 · GHSA-94cc-xjxr-pwvf
- Affected
- Maven org.dspace:dspace-server-webapp >= 7.0, < 7.6.2
- Fixed in
- 7.6.2· Vendor fix available
- Issue
- Impact 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 attack may only be initialized by a user who already has Submitter privileges in the repository. The submitter must upload the malicious HTML/XML/JavaScript file themselves. The attack itself would not occur until a visitor or logged-in user downloads the file or clicks on a download link shared by the attacker. If your site is running the frontend and backend from separate domains, CORS and CSRF protection built into DSpace help to limit the impact of the attack. If the repository is configured to only download HTML / XML / JavaScript Bitstreams using the Content-Disposition: attachment header, then the attack is no longer possible. See "Workarounds" below. Patches The fix is included in both 8.0 and 7.6.2. Please upgrade to one of these versions, or…
Recommended action: Upgrade to 7.6.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.