XSS in DSpace JSPUI Spellcheck & Autocomplete (CVE-2022-31191)
CVE-2022-31191 Published on August 1, 2022
Cross Site Scripting possible in DSpace JSPUI spellcheck and autocomplete tools
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.
Vulnerability Analysis
CVE-2022-31191 can be exploited with network access, requires user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be low. considered to have a small impact on confidentiality and integrity and availability.
Weakness Type
What is a XSS Vulnerability?
The software does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
CVE-2022-31191 has been classified to as a XSS vulnerability or weakness.
Products Associated with CVE-2022-31191
Want to know whenever a new CVE is published for Duraspace Dspace? stack.watch will email you.
Affected Versions
DSpace:- Version >= 6.0, < 6.4 is affected.
- Version >= 4.0, < 5.11 is affected.
Vulnerable Packages
The following package name and versions may be associated with CVE-2022-31191
| Package Manager | Vulnerable Package | Versions | Fixed In |
|---|---|---|---|
| maven | org.dspace:dspace-jspui | >= 4.0, < 5.11 | 5.11 |
| maven | org.dspace:dspace-jspui | >= 6.0, < 6.4 | 6.4 |
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.