CVE-2022-31192
Cross Site Scripting possible in DSpace JSPUI "Request a Copy" feature
Also known as GHSA-4wm8-c2vv-xrpq
Mitigation
- Upgrade org.dspace:dspace-jspui to one of 5.11, 6.4 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.dspace:dspace-jspui (>= 5.0, < 5.11)
- Anyone running DSpace >= 6.0, < 6.4; >= 4.0, < 5.11
Vulnerability facts
- Affected
- org.dspace:dspace-jspui >= 5.0, < 5.11
- Fixed in
- 5.11, 6.4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: Low
- EPSS
- 0.89% chance of exploitation in 30 days (percentile 57, 2026-11-26)
- CWE
- CWE-79
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.dspace:dspace-jspui | >= 5.0, < 5.11 | 5.11, 6.4 | osv |
| DSpace | >= 6.0, < 6.4; >= 4.0, < 5.11 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-31192. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-31192.md Affected: org.dspace:dspace-jspui >= 5.0, < 5.11 Fixed in: 5.11, 6.4 Steps: 1. Search this machine and project for org.dspace:dspace-jspui (Maven), DSpace: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2022-31192 being exploited?
There is no confirmed exploitation: CVE-2022-31192 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.89% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-31192?
High: CVSS 7.1 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2022-31192?
org.dspace:dspace-jspui >= 5.0, < 5.11.
Is there a fix for CVE-2022-31192?
Yes. Fixed in 5.11, 6.4. Upgrade org.dspace:dspace-jspui to one of 5.11, 6.4 (or later in the same release line).
How do I check if I'm affected by CVE-2022-31192?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.