Cross-Site Request Forgery in Spring Framework
The Jaxb2RootElementHttpMessageConverter in Spring MVC in Spring Framework before 3.2.8 and 4.0.0 before 4.0.2 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. NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-4152, CVE-2013-7315, and CVE-2013-6429.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.springframework:spring-webmvc | < 3.2.8, >= 4.0.0, < 4.0.2 | 3.2.8, 4.0.2 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2014-0054
- https://github.com/spring-projects/spring-framework/issues/16003
- https://github.com/spring-projects/spring-framework/commit/1a8629d40825c073b6863ae2ab748b647b28506a
- https://github.com/spring-projects/spring-framework/commit/1c5cab2a4069ec3239c531d741aeb07a434f521b
- https://github.com/spring-projects/spring-framework/commit/edba32b3093703d5e9ed42b5b8ec23ecc1998398
- https://github.com/spring-projects/spring-framework/commit/fb0683c066e74e9667d6cd8c5fa01f674c68c3be
- http://rhn.redhat.com/errata/RHSA-2014-0400.html
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
- Weakness (CWE)
CWE-352- Platform
- Java / Kotlin (Maven)
- Package
org.springframework:spring-webmvc- Disclosed
- 13.05.2022
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-8cmm-qj8g-fcp6 - CC BY 4.0
Vulnerability history: org.springframework:spring-webmvc
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.
- Total entries
- 27
- First → latest
- 10.2018 08.2026
- Without a fix
- 0
- Exploited in attacks
- 1
Severity breakdown
- Critical 4
- High 8
- Medium 13
- Low 2
Disclosures per year
- 2018: 1
- 2019: 0
- 2020: 2
- 2021: 0
- 2022: 5
- 2023: 2
- 2024: 3
- 2025: 1
- 2026: 13
-
Cross-Site Request Forgery in Spring Framework this entry
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.