CVE-2022-31191 json
Cross Site Scripting possible in DSpace JSPUI spellcheck and autocomplete tools
published 4y ago modified 4mo ago also GHSA-c558-5gfm-p2r8 , EUVD-2022-6531
- cvss
- 7.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 57%
- public exploits
- 0
- none known
Summary
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 spellcheck "Did you mean" HTML escapes the data-spell attribute in the link, but not the actual displayed text. Similarly, the JSPUI autocomplete HTML does not properly escape text passed to it. Both are vulnerable to XSS. This vulnerability only impacts the JSPUI. Users are advised to upgrade. There are no known workarounds for this issue.
Patch / fix
- maven org.dspace:dspace-jspui 5.11, 6.4
- duraspace dspace 6.4
Is CVE-2022-31191 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.81% chance of exploitation in the next 30 days, higher than 57% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.dspace:dspace-jspui | >=4.0, <5.11 >=6.0, <6.4 |
5.11 6.4 |
Affected products
- DSpace DSpace
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/DSpace/DSpace/commit/35030a23e48b5946f5853332c797e1c4adea7bb7
web, patch, third-party-advisory
-
github.com
/DSpace/DSpace/commit/6f75bb084ab1937d094208c55cd84340040bcbb5
web, patch, third-party-advisory
-
github.com
/DSpace/DSpace/commit/c89e493e517b424dea6175caba54e91d3847fc3a
web, patch, third-party-advisory
-
github.com
/DSpace/DSpace/commit/ebb83a75234d3de9be129464013e998dc929b68d
web, patch, third-party-advisory
-
github.com
/DSpace/DSpace/security/advisories/GHSA-c558-5gfm-p2r8
web, patch, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-31191
advisory
-
github.com
/DSpace/DSpace
package
Sources
- CVE List CVE-2022-31191
- GitHub Advisory GHSA-c558-5gfm-p2r8
- NVD CVE-2022-31191
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.