# CVE-2023-20866: Spring Session session ID can be logged to the standard output stream

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.66%, higher than 52% of CVEs (2026-12-01)
- Published: 2023-04-13T00:00:00.000Z
- Modified: 2026-06-17T05:31:03.210Z
- Also known as: GHSA-r7qr-f43m-pxfr
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: vmware

## Description

In Spring Session version 3.0.0, the session id can be logged to the standard output stream. This vulnerability exposes sensitive information to those who have access to the application logs and can be used for session hijacking. Specifically, an application is vulnerable if it is using HeaderHttpSessionIdResolver.

(As written by CVE List.)

## Affected

- Spring Session: Spring session versions 3.0.x prior to 3.0.1
- org.springframework.session:spring-session-core (Maven): from 3.0.0 before 3.0.1
- vmware spring_session: 3.0.0

## Every score

- CISA-ADP: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://spring.io/security/cve-2023-20866> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-20866> (advisory)
- <https://github.com/spring-projects/spring-session/issues/2215> (web)
- <https://github.com/spring-projects/spring-session/commit/c98a7be0e2ced7f795018f05397dca4bd5ca8212> (web)
- <https://github.com/spring-projects/spring-session> (package)

## Sources

- CVE List: [CVE-2023-20866](https://www.cve.org/CVERecord?id=CVE-2023-20866), CVE Terms of Use, modified 2025-02-07
- GitHub Advisory Database: [GHSA-r7qr-f43m-pxfr](https://github.com/advisories/GHSA-r7qr-f43m-pxfr), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2023-20866](https://nvd.nist.gov/vuln/detail/CVE-2023-20866), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-20866 · Whole record: https://cve.day/CVE-2023-20866.json · Rebuilt by cve.day 2026-11-25T22:58:23.480Z
