Medium

Cross-Site Request Forgery in Spring Framework

  • Disclosed: 13.05.2022
  • Updated: 11.10.2026 12:21

The SourceHttpMessageConverter in Spring MVC in Spring Framework before 3.2.5 and 4.0.0.M1 through 4.0.0.RC1 does not disable external entity resolution, which allows remote attackers to read arbitrary files, cause a denial of service, and conduct CSRF attacks via crafted XML, aka an XML External Entity (XXE) issue, and a different vulnerability than CVE-2013-4152 and CVE-2013-7315.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.springframework:spring-web < 3.2.5.RELEASE 3.2.5.RELEASE

References

CVSS score -
Weakness (CWE)
CWE-352
Platform
Java / Kotlin (Maven)
Package
org.springframework:spring-web
Disclosed
13.05.2022
Updated
11.10.2026 12:21

Sources and licenses

OSV / GitHub Advisory Database - GHSA-g6hf-f9cq-q7w7 - CC BY 4.0

Vulnerability history: org.springframework:spring-web

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (13) in the archive
Total entries
13
First → latest
10.2018 06.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 4
  • Medium 8

Disclosures per year

  1. 2018: 2
  2. 2019: 0
  3. 2020: 0
  4. 2021: 0
  5. 2022: 4
  6. 2023: 0
  7. 2024: 5
  8. 2025: 1
  9. 2026: 1
Severity:
  1. High · 8.1 CVE-2024-22262 < 5.3.34, >= 6.0.0, < 6.0.19, >= 6.1.0, < 6.1.6 5.3.34, 6.0.19, 6.1.6
  2. High · 8.1 CVE-2024-22259 >= 6.1.0, < 6.1.5, >= 6.0.0, < 6.0.18, < 5.3.33 6.1.5, 6.0.18, 5.3.33
  3. High · 8.1 CVE-2024-22243 >= 6.1.0, < 6.1.4, >= 6.0.0, < 6.0.17, >= 5.3.0, < 5.3.32, <= 5.2.25.RELEASE 6.1.4, 6.0.17, 5.3.32
  4. High · 7.8 CVE-2021-22118 >= 5.2.0, < 5.2.15, >= 5.3.0, < 5.3.7 5.2.15, 5.3.7
  5. Critical · 9.8 CVE-2016-1000027 < 6.0.0 6.0.0
  6. Cross-Site Request Forgery in Spring Framework this entry
    Medium CVE-2013-6429 < 3.2.5.RELEASE 3.2.5.RELEASE

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.