Description
The Spring MVC in Spring Framework before 3.2.4 and 4.0.0.M1 through 4.0.0.M2 does not disable external entity resolution for the StAX XMLInputFactory, which allows context-dependent attackers to read arbitrary files, cause a denial of service, and conduct CSRF attacks via crafted XML with JAXB, aka an XML External Entity (XXE) issue, and a different vulnerability than CVE-2013-4152. NOTE: this issue was SPLIT from CVE-2013-4152 due to different affected versions.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libspring-java | 3.0.6.RELEASE-10 | — |
| Debian 13 | libspring-java | 3.0.6.RELEASE-10 | — |
| Debian 12 | libspring-java | 3.0.6.RELEASE-10 | — |
| Debian 7 | libspring-java | 3.0.6.RELEASE-6+deb7u1 | DSA-2842-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.springframework:spring-oxm | < 3.2.4.RELEASE | 3.2.4.RELEASE | GHSA-vp63-rrcm-9mph |
Advisories 1
- DSA-2842-1 libspring-java - several Debian Security (DSA / DLA) · Mar 9, 2026
References
- http://www.gopivotal.com/security/cve-2013-4152
- 20131102 XXE Injection in Spring Framework mailing-list
- 20130822 CVE-2013-4152 XML External Entity (XXE) injection in Spring Framework mailing-list
- DSA-2842 vendor-advisory
- 77998 vdb-entry
- https://jira.springsource.org/browse/SPR-10806