Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:maven/org.springframework.security/spring-security-web@5.7.0
purl pkg:maven/org.springframework.security/spring-security-web@5.7.0
Next non-vulnerable version 6.5.9
Latest non-vulnerable version 7.0.4
Risk 4.5
Vulnerabilities affecting this package (3)
Vulnerability Summary Fixed by
VCID-9tg6-2h2y-abah
Aliases:
CVE-2023-20862
GHSA-x873-6rgc-94jc
Incomplete Cleanup In Spring Security, versions 5.7.x prior to 5.7.8, versions 5.8.x prior to 5.8.3, and versions 6.0.x prior to 6.0.3, the logout support does not properly clean the security context if using serialized versions. Additionally, it is not possible to explicitly save an empty security context to the HttpSessionSecurityContextRepository. This vulnerability can keep users authenticated even after they performed logout. Users of affected versions should apply the following mitigation. 5.7.x users should upgrade to 5.7.8. 5.8.x users should upgrade to 5.8.3. 6.0.x users should upgrade to 6.0.3.
5.7.8
Affected by 1 other vulnerability.
5.8.3
Affected by 1 other vulnerability.
6.0.3
Affected by 1 other vulnerability.
VCID-r15d-pzfc-3fg7
Aliases:
CVE-2022-31692
GHSA-mmmh-wcxm-2wr4
Spring Security authorization rules can be bypassed via forward or include dispatcher types Spring Security, versions 5.7 prior to 5.7.5 and 5.6 prior to 5.6.9 could be susceptible to authorization rules bypass via forward or include dispatcher types. Specifically, an application is vulnerable when all of the following are true: The application expects that Spring Security applies security to forward and include dispatcher types. The application uses the AuthorizationFilter either manually or via the authorizeHttpRequests() method. The application configures the FilterChainProxy to apply to forward and/or include requests (e.g. spring.security.filter.dispatcher-types = request, error, async, forward, include). The application may forward or include the request to a higher privilege-secured endpoint.The application configures Spring Security to apply to every dispatcher type via authorizeHttpRequests().shouldFilterAllDispatcherTypes(true)
5.7.5
Affected by 2 other vulnerabilities.
VCID-vfqt-vr9q-2kfp
Aliases:
CVE-2026-22732
GHSA-mf92-479x-3373
Spring Security HTTP Headers Are not Written Under Some Conditions When applications specify HTTP response headers for servlet applications using Spring Security, there is the possibility that the HTTP Headers will not be written.  This issue affects Spring Security: from 5.7.0 through 5.7.21, from 5.8.0 through 5.8.23, from 6.3.0 through 6.3.14, from 6.4.0 through 6.4.14, from 6.5.0 through 6.5.8, from 7.0.0 through 7.0.3.
6.5.9
Affected by 0 other vulnerabilities.
7.0.4
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-22T07:35:39.779571+00:00 GitLab Importer Affected by VCID-vfqt-vr9q-2kfp https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.springframework.security/spring-security-web/CVE-2026-22732.yml 38.4.0
2026-04-16T22:27:23.173838+00:00 GitLab Importer Affected by VCID-9tg6-2h2y-abah https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.springframework.security/spring-security-web/CVE-2023-20862.yml 38.4.0
2026-04-16T22:14:35.630647+00:00 GitLab Importer Affected by VCID-r15d-pzfc-3fg7 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.springframework.security/spring-security-web/CVE-2022-31692.yml 38.4.0
2026-04-11T23:45:45.757357+00:00 GitLab Importer Affected by VCID-9tg6-2h2y-abah https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.springframework.security/spring-security-web/CVE-2023-20862.yml 38.3.0
2026-04-11T23:31:35.822119+00:00 GitLab Importer Affected by VCID-r15d-pzfc-3fg7 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.springframework.security/spring-security-web/CVE-2022-31692.yml 38.3.0
2026-04-02T23:49:21.503907+00:00 GitLab Importer Affected by VCID-9tg6-2h2y-abah https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.springframework.security/spring-security-web/CVE-2023-20862.yml 38.1.0
2026-04-02T23:36:59.447001+00:00 GitLab Importer Affected by VCID-r15d-pzfc-3fg7 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.springframework.security/spring-security-web/CVE-2022-31692.yml 38.1.0
2026-04-01T17:59:09.777555+00:00 GitLab Importer Affected by VCID-r15d-pzfc-3fg7 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.springframework.security/spring-security-web/CVE-2022-31692.yml 38.0.0
2026-04-01T12:51:10.662766+00:00 GitLab Importer Affected by VCID-9tg6-2h2y-abah https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.springframework.security/spring-security-web/CVE-2023-20862.yml 38.0.0