Medium severity · published Aug 1, 2022
CVE-2022-31191
Cross Site Scripting possible in DSpace JSPUI spellcheck and autocomplete tools
6.1
CVSS
0.8%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.8% · higher than 57% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DS
DSpace · DSpace
>= 6.0, < 6.4; >= 4.0, < 5.11 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-31191
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-31191
Patch
https://github.com/DSpace/DSpace/commit/35030a23e48b5946f5853332c797e1c4adea7bb7
Patch
https://github.com/DSpace/DSpace/commit/6f75bb084ab1937d094208c55cd84340040bcbb5
Patch
https://github.com/DSpace/DSpace/commit/c89e493e517b424dea6175caba54e91d3847fc3a
Patch
https://github.com/DSpace/DSpace/commit/ebb83a75234d3de9be129464013e998dc929b68d
Patch
https://github.com/DSpace/DSpace/security/advisories/GHSA-c558-5gfm-p2r8
More from DSpace
8.0
CVE-2026-49832
DSpace: Remote Code Execution (RCE) possible in Velocity Templates used by LDN
7.2
CVE-2022-31195
Path traversal vulnerability in Simple Archive Format package import in DSpace
7.2
CVE-2022-31194
Path traversal vulnerabilities in DSpace JSPUI submission upload
6.9
CVE-2025-53621
DSpace vulnerable to XML External Entity (XXE) injection in import via Simple Archive Format (SAF) or import from external sources
6.1
CVE-2022-31192
Cross Site Scripting possible in DSpace JSPUI "Request a Copy" feature
