Vulnerability Details : 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 category: Cross site scripting (XSS)
Products affected by CVE-2022-31191
- cpe:2.3:a:duraspace:dspace:*:*:*:*:*:*:*:*
- cpe:2.3:a:duraspace:dspace:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-31191
0.12%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 32 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-31191
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
2.8
|
2.7
|
NIST | |
7.1
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L |
2.8
|
3.7
|
GitHub, Inc. |
CWE ids for CVE-2022-31191
-
The product 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.Assigned by: security-advisories@github.com (Primary)
References for CVE-2022-31191
-
https://github.com/DSpace/DSpace/security/advisories/GHSA-c558-5gfm-p2r8
Cross Site Scripting (XSS) possible in JSPUI spellcheck and autocomplete tools · Advisory · DSpace/DSpace · GitHubPatch;Third Party Advisory
-
https://github.com/DSpace/DSpace/commit/6f75bb084ab1937d094208c55cd84340040bcbb5
[DS-4453] Discovery autocomplete HTML escaping (JSPUI) · DSpace/DSpace@6f75bb0 · GitHubPatch;Third Party Advisory
-
https://github.com/DSpace/DSpace/commit/35030a23e48b5946f5853332c797e1c4adea7bb7
[DS-4453] Fix XSS handling in JSPUI discovery autocomplete · DSpace/DSpace@35030a2 · GitHubPatch;Third Party Advisory
-
https://github.com/DSpace/DSpace/commit/c89e493e517b424dea6175caba54e91d3847fc3a
[DS-4453] Escape spellcheck, autocomplete HTML (JSPUI) · DSpace/DSpace@c89e493 · GitHubPatch;Third Party Advisory
-
https://github.com/DSpace/DSpace/commit/ebb83a75234d3de9be129464013e998dc929b68d
[DS-4453] Fix XSS handling in JSPUI discovery spellcheck · DSpace/DSpace@ebb83a7 · GitHubPatch;Third Party Advisory
Jump to