{"id":"CVE-2022-31191","published":"2022-08-01T20:30:17Z","modified":"2025-04-23T17:55:20Z","title":"Cross Site Scripting possible in DSpace JSPUI spellcheck and autocomplete tools","vendor":"DSpace","product":"DSpace","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00808,"percentile":0.57761,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/DSpace/DSpace/security/advisories/GHSA-c558-5gfm-p2r8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/DSpace/DSpace/commit/35030a23e48b5946f5853332c797e1c4adea7bb7","tags":["x_refsource_MISC"]},{"url":"https://github.com/DSpace/DSpace/commit/6f75bb084ab1937d094208c55cd84340040bcbb5","tags":["x_refsource_MISC"]},{"url":"https://github.com/DSpace/DSpace/commit/c89e493e517b424dea6175caba54e91d3847fc3a","tags":["x_refsource_MISC"]},{"url":"https://github.com/DSpace/DSpace/commit/ebb83a75234d3de9be129464013e998dc929b68d","tags":["x_refsource_MISC"]}],"priority":{"score":16.5,"factors":[{"name":"EPSS percentile","points":11.55},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"dspace","affectedVersions":[{"vendor":"DSpace","product":"DSpace","versions":[">= 6.0, < 6.4",">= 4.0, < 5.11"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T14:02:38.661784Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.dspace:dspace-jspui","vulnerableRanges":[">=4.0, <5.11",">=6.0, <6.4"],"patched":["5.11","6.4"],"from":["GHSA-c558-5gfm-p2r8"],"provenance":"source"}],"summary":{"text":"The DSpace JSPUI user interface component (dspace-jspui) fails to properly escape text in its spellcheck \"Did you mean\" link and its autocomplete HTML, producing a cross-site scripting flaw. An attacker can exploit it over the network without authentication, but a user must interact with the crafted content (such as following a link or viewing the affected page) for the injected script to run.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:13:56Z"},"euvd":{"id":"EUVD-2022-6531","exploited":false,"provenance":"source"}}