Spring Framework Cross Site Tracing (XST)
Published 16 Oct 2018 · Updated 2 Dec 2024
Is your project on an affected org.springframework:spring-web?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- >=5.0.0 <5.0.7
- Fixed in
- 5.0.7
mvn versions:use-dep-version -Dincludes=org.springframework:spring-web -DdepVersion=5.0.7 -DforceVersion=true- Affected
- >=4.3.0 <4.3.18
- Fixed in
- 4.3.18
mvn versions:use-dep-version -Dincludes=org.springframework:spring-web -DdepVersion=4.3.18 -DforceVersion=trueDetails
Spring Framework (versions 5.0.x prior to 5.0.7, versions 4.3.x prior to 4.3.18, and older unsupported versions) allow web applications to change the HTTP request method to any HTTP method (including TRACE) using the HiddenHttpMethodFilter in Spring MVC. If an application has a pre-existing XSS vulnerability, a malicious user (or attacker) can use this filter to escalate to an XST (Cross Site Tracing) attack.
Is GHSA-9gcm-f4x3-8jpw in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.springframework:spring-web, and gives you the command that fixes it.
More advisories for org.springframework:spring-web
- MediumCVE-2026-41854Spring Framework Server-Side Request Forgery via UriComponentsBuilder · 9 Jun 2026
- MediumCVE-2025-41234Spring Framework vulnerable to a reflected file download (RFD) · 13 Jun 2025
- MediumCVE-2024-38820Spring Framework DataBinder Case Sensitive Match Exception · 18 Oct 2024
- MediumCVE-2024-38809Spring Framework DoS via conditional HTTP request · 24 Sept 2024
- HighCVE-2024-22262Spring Framework URL Parsing with Host Validation · 16 Apr 2024
- HighCVE-2024-22259Spring Framework URL Parsing with Host Validation Vulnerability · 16 Mar 2024
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2018-11039
- Linkgithub.com/spring-projects/spring-framework/issues/21376
- Linkgithub.com/spring-projects/spring-framework/commit/323ccf99e575343f63d56e229c25c35c170b7ec1
- Linkgithub.com/spring-projects/spring-framework/commit/a5cd01a4c857aaaba7ccc51545fc73dd25b5cba5
- Linkgithub.com/spring-projects/spring-framework/commit/dac97f1b7dac3e70ff603fb6fc9f205b95dd6b01
- Linkgithub.com/spring-projects/spring-framework/commit/f2694a8ed93f1f63f87ce45d0bb638478b426acd
- Linkgithub.com/spring-projects/spring-framework/commit/f64fa3dea10af125d612d3a997aece93d21bc875
- Linkwww.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
- Linkwww.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- Linkwww.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
- Linkwww.oracle.com/security-alerts/cpuoct2021.html
- Linkwww.oracle.com/security-alerts/cpujul2020.html
- Linkwww.oracle.com/security-alerts/cpujan2020.html
- Linkspring.io/security/cve-2018-11039
- Linkpivotal.io/security/cve-2018-11039
- Linklists.debian.org/debian-lts-announce/2021/04/msg00022.html
- Packagegithub.com/spring-projects/spring-framework
- Advisorygithub.com/advisories/GHSA-9gcm-f4x3-8jpw
- Linkwww.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- Linkwww.securityfocus.com/bid/107984
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.