CVE-2022-31191
published high CVSS 3.1 · 7.1Cross Site Scripting possible in DSpace JSPUI spellcheck and autocomplete tools
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| DSpace | — | DSpace>= 6.0, < 6.4 · >= 4.0, < 5.11 | Affected | Not stated | GitHub_M |
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 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| DSpace | DSpace | >= 6.0, < 6.4 (affected)>= 4.0, < 5.11 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
5- https://github.com/DSpace/DSpace/commit/35030a23e48b5946f5853332c797e1c4adea7bb7
- https://github.com/DSpace/DSpace/commit/6f75bb084ab1937d094208c55cd84340040bcbb5
- https://github.com/DSpace/DSpace/commit/c89e493e517b424dea6175caba54e91d3847fc3a
- https://github.com/DSpace/DSpace/commit/ebb83a75234d3de9be129464013e998dc929b68d
- https://github.com/DSpace/DSpace/security/advisories/GHSA-c558-5gfm-p2r8
Provider assertions
3GitHub_M · cna
Cross Site Scripting possible in DSpace JSPUI spellcheck and autocomplete tools
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- dabd923367f40c7f991d885012beab81c5c0914a3dea53f14fa0fa29db2076eb
- Ingested
- 23 Sep 2026, 08:00:25 UTC
- Source record
- Official CVE record