{"cve":"CVE-2022-31191","nvd":{"published":"2022-08-01T21:15:13.280","modified":"2026-06-17T04:44:59.920","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://github.com/DSpace/DSpace/commit/35030a23e48b5946f5853332c797e1c4adea7bb7","https://github.com/DSpace/DSpace/commit/6f75bb084ab1937d094208c55cd84340040bcbb5","https://github.com/DSpace/DSpace/commit/c89e493e517b424dea6175caba54e91d3847fc3a","https://github.com/DSpace/DSpace/commit/ebb83a75234d3de9be129464013e998dc929b68d","https://github.com/DSpace/DSpace/security/advisories/GHSA-c558-5gfm-p2r8"],"products":["duraspace:dspace"],"source":"nvd","synced_at":"2026-10-19T21:34:18.502168378+00:00"},"epss":{"cve":"CVE-2022-31191","score":0.00808,"percentile":0.56876,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-c558-5gfm-p2r8","url":"https://osv.dev/vulnerability/GHSA-c558-5gfm-p2r8","summary":"JSPUI spellcheck and autocomplete tools vulnerable to Cross Site Scripting","modified":"2023-11-08T04:09:29.505254Z","packages":[{"ecosystem":"Maven","name":"org.dspace:dspace-jspui","purl":"pkg:maven/org.dspace/dspace-jspui","ranges":[">=4.0 <5.11"],"fixed":["5.11"]},{"ecosystem":"Maven","name":"org.dspace:dspace-jspui","purl":"pkg:maven/org.dspace/dspace-jspui","ranges":[">=6.0 <6.4"],"fixed":["6.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}