XSS in Dspace
CVE-2022-31191
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 class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.008, 57.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Dspace — versions >= 6.0, < 6.4, >= 4.0, < 5.11
- Duraspace Dspace
Weakness classification (CWE)
References
- github.com/DSpace/DSpace/security/advisories/GHSA-c558-5gfm-p2r8 (Patch, Third Party Advisory)
- github.com/DSpace/DSpace/commit/35030a23e48b5946f5853332c797e1c4adea7bb7 (Patch, Third Party Advisory)
- github.com/DSpace/DSpace/commit/6f75bb084ab1937d094208c55cd84340040bcbb5 (Patch, Third Party Advisory)
- github.com/DSpace/DSpace/commit/c89e493e517b424dea6175caba54e91d3847fc3a (Patch, Third Party Advisory)
- github.com/DSpace/DSpace/commit/ebb83a75234d3de9be129464013e998dc929b68d (Patch, Third Party Advisory)