CVE-2023-20866
MEDIUM 6.5CVSS 3.1Spring Session session ID can be logged to the standard output stream
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.
- Published
- 13 Apr 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security@vmware.com
- NVD status
- Modified
- Weakness
- CWE-200
- Also known as
- GHSA-r7qr-f43m-pxfr
- Sources
- NVDJSONOSV GHSA-r7qr-f43m-pxfrJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vmware | spring_sessioncpe:2.3:a:vmware:spring_session:3.0.0:*:*:*:*:*:*:* |
= 3.0.0 | |
| OSV | Maven | org.springframework.session:spring-session-core | >= 3.0.0, < 3.0.1 | 3.0.1 |
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
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 13 Apr 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 13 Apr 2023)