PT-2022-20600 · Dspace · Dspace
Hassan Bhuiyan
·
Published
2022-08-01
·
Updated
2022-08-08
·
CVE-2022-31191
CVSS v3.1
7.1
High
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L |
Name of the Vulnerable Software and Affected Versions
DSpace versions prior to 5.11
DSpace versions prior to 6.4
Description
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.
Recommendations
For DSpace 5.x, upgrade to version 5.11 or apply the patch files for spellcheck and autocomplete manually.
For DSpace 6.x, upgrade to version 6.4 or apply the patch files for spellcheck and autocomplete manually.
To apply the patch, download the appropriate patch file, apply it using
git apply [name-of-file].patch, rebuild DSpace with mvn -U clean package, redeploy DSpace with ant update, and restart Tomcat.Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Dspace