WaratekVRT Sign in

CVE-2022-31191 DSpace

Affected softwareDSpace
Severity7.1 High CVSS 3.1 2 scores
Fixed in5.11, 6.4
WeaknessCross-site scripting (CWE-79)
Published1 Aug 2022
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 4 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 0.81% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: DSpace/DSpace 35030a2.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.
Candidate fix https://github.com/DSpace/DSpace/commit/35030a23e48b5946f5853332c797e1c4adea7bb7 : a commit: the change itself

CVSS

7.1 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 7.1 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L security-advisories@github.com Secondary published
CVSS 3.1 6.1 MEDIUM CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.dspace:dspace-jspui 4.0 5.11 unbounded
org.dspace:dspace-jspui 6.0 6.4 unbounded

Products and versions

2 products, 4 version entries
SourceVendorProductSchemeAffected versions
nvd duraspace dspace generic > 4.0 and ≤ 5.10 · > 6.0 and < 6.4
osv org.dspace dspace-jspui generic ≥ 4.0 and < 5.11 · ≥ 6.0 and < 6.4

References

URLTags
https://github.com/DSpace/DSpace/commit/35030a23e48b5946f5853332c797e1c4adea7bb7 commit
https://github.com/DSpace/DSpace/security/advisories/GHSA-c558-5gfm-p2r8 WEB
https://github.com/DSpace/DSpace/commit/6f75bb084ab1937d094208c55cd84340040bcbb5 WEB
https://github.com/DSpace/DSpace/commit/c89e493e517b424dea6175caba54e91d3847fc3a WEB
https://github.com/DSpace/DSpace/commit/ebb83a75234d3de9be129464013e998dc929b68d WEB
https://github.com/DSpace/DSpace PACKAGE

Timeline

Published2022-08-01By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.