Is org.springframework.security:spring-security-web 3.1 vulnerable?
Maven · 8 releases from 3.1.0 to 3.1.7 · latest org.springframework.security:spring-security-web is 7.1.2 · checked 18 Nov 2026
Yes: 5 known advisories
Yes. org.springframework.security:spring-security-web 3.1.7, the last 3.1 release, is affected by 5 known security advisories (2 critical, 1 high, 2 medium), including CVE-2026-22732, CVE-2022-22978, CVE-2021-22112. Upgrade to 6.5.11 or later to fix all of them.
mvn versions:use-dep-version -Dincludes=org.springframework.security:spring-security-web -DdepVersion=6.5.11 -DforceVersion=trueIs your project on an affected org.springframework.security:spring-security-web?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Advisories affecting org.springframework.security:spring-security-web 3.1.7
Spring Security Vulnerable to Unauthorized User Impersonation when Using X.509 Client Certificates
- Affected
- >=6.5.0 <6.5.11 · >=6.4.0 <=6.4.13 · >=6.0.0 <=6.3.10 · >=5.8.0 <=5.8.16 · <=5.7.14
- Fixed in
- 6.5.11
Spring Security: Open Redirect via Unvalidated Post-Login Redirect URL Stored in CookieRequestCache
- Affected
- >=7.0.0 <7.0.6 · >=6.5.0 <6.5.11 · >=6.3.0 <=6.3.16 · >=5.8.0 <=5.8.25 · <=5.7.23
- Fixed in
- 6.5.11, 7.0.6
Spring Security HTTP Headers Are not Written Under Some Conditions
- Affected
- <=5.7.14 · >=5.8.0 <=5.8.16 · >=6.0.0 <=6.3.10 · >=6.4.0 <=6.4.13 · >=6.5.0 <6.5.9 · >=7.0.0 <7.0.4
- Fixed in
- 6.5.9, 7.0.4
Authorization bypass in Spring Security
- Affected
- >=5.5.0 <5.5.7 · >=5.6.0 <5.6.4 · <5.4.11
- Fixed in
- 5.4.11, 5.5.7, 5.6.4
Privilege escalation in spring security
- Affected
- >=5.4.0 <5.4.4 · >=5.3.0 <5.3.8 · <5.2.9
- Fixed in
- 5.2.9, 5.3.8, 5.4.4
Every org.springframework.security:spring-security-web 3.1.x release
Affected: 3.1.0 to 3.1.7. Latest org.springframework.security:spring-security-web: 7.1.2.
| Version | Known advisories |
|---|---|
| org.springframework.security:spring-security-web 3.1.7 | CVE-2026-47838, CVE-2026-41706, CVE-2026-22732, CVE-2022-22978, CVE-2021-22112 |
| org.springframework.security:spring-security-web 3.1.6 | CVE-2026-47838, CVE-2026-41706, CVE-2026-22732, CVE-2022-22978, CVE-2021-22112 |
| org.springframework.security:spring-security-web 3.1.5 | CVE-2026-47838, CVE-2026-41706, CVE-2026-22732, CVE-2022-22978, CVE-2021-22112 |
| org.springframework.security:spring-security-web 3.1.4 | CVE-2026-47838, CVE-2026-41706, CVE-2026-22732, CVE-2022-22978, CVE-2021-22112 |
| org.springframework.security:spring-security-web 3.1.3 | CVE-2026-47838, CVE-2026-41706, CVE-2026-22732, CVE-2022-22978, CVE-2021-22112 |
| org.springframework.security:spring-security-web 3.1.2 | CVE-2026-47838, CVE-2026-41706, CVE-2026-22732, CVE-2022-22978, CVE-2021-22112 |
| org.springframework.security:spring-security-web 3.1.1 | CVE-2026-47838, CVE-2026-41706, CVE-2026-22732, CVE-2022-22978, CVE-2021-22112 |
| org.springframework.security:spring-security-web 3.1.0 | CVE-2026-47838, CVE-2026-41706, CVE-2026-22732, CVE-2022-22978, CVE-2021-22112 |
Which of your client projects are still on org.springframework.security:spring-security-web 3.1?
NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact org.springframework.security:spring-security-web version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.
Other org.springframework.security:spring-security-web versions
- org.springframework.security:spring-security-web 4.1
- org.springframework.security:spring-security-web 4.0
- org.springframework.security:spring-security-web 3.2
- org.springframework.security:spring-security-web 3.0
- org.springframework.security:spring-security-web 7.1
- org.springframework.security:spring-security-web 7.0
- org.springframework.security:spring-security-web 6.5
- org.springframework.security:spring-security-web 6.4
- org.springframework.security:spring-security-web 6.3
- org.springframework.security:spring-security-web 6.2
- org.springframework.security:spring-security-web 6.1
- org.springframework.security:spring-security-web 6.0
- All org.springframework.security:spring-security-web advisories
Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Maven registry. Refreshed daily.