Vulnerability · Published Aug 1, 2022 · Assigned by GitHub_M

CVE-2022-31191Cross Site Scripting possible in DSpace JSPUI spellcheck and autocomplete tools

High 7.1

In plain English

A high-severity cross-site scripting in DSpace from DSpace. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.1High
Exploit odds (30 days)0.8%top 43.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.dspace:dspace-jspui5.11GHSA-c558-5gfm-p2r8
Mavenorg.dspace:dspace-jspui6.4GHSA-c558-5gfm-p2r8

Affected products (as reported)

VendorProductVersions
DSpace DSpace >= 6.0, < 6.4>= 4.0, < 5.11

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

References