VDB
Sign up
MEDIUM5.9

GHSA-9gcm-f4x3-8jpw

Spring Framework Cross Site Tracing (XST)

Quick fix

GHSA-9gcm-f4x3-8jpw — org.springframework:spring-web: upgrade to the fixed version with the command below.

# pom.xml: bump <version>5.0.7</version> for org.springframework:spring-web

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.springframework:spring-web
Introduced in: 5.0.0Fixed in: 5.0.7
Fix# pom.xml: bump <version>5.0.7</version> for org.springframework:spring-web
Maven/org.springframework:spring-web
Introduced in: 4.3.0Fixed in: 4.3.18
Fix# pom.xml: bump <version>4.3.18</version> for org.springframework:spring-web

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:maven/org.springframework/spring-web"]}'