CVE-2013-7315
Missing XML Validation in Spring Framework
Reported by mitre · Published January 23, 2014
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 versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libspring-java | Ubuntu:14.04:LTS | 3.0.6.RELEASE-13 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| Maven | org.springframework:spring-oxm | 0 |
| Maven | org.springframework:spring-web | 3-alpha0, 4-alpha0 |
| n/a | n/a | * |
Timeline
- Jan 23, 2014 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Aug 6, 2024 CVE Updated
- Mar 17, 2026 Security Advisory (2 in total, the first dated here)
- Apr 7, 2026 Distribution Patch
- Oct 22, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2013-7315
vulnetix vdb fixes CVE-2013-7315
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2013-7315/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- 20131102 XXE Injection in Spring Framework mailing-listx_refsource_FULLDISC
- 20130822 CVE-2013-4152 XML External Entity (XXE) injection in Spring Framework mailing-listx_refsource_BUGTRAQ
- DSA-2842 vendor-advisoryx_refsource_DEBIAN
- 77998 vdb-entryx_refsource_BID
- x_refsource_CONFIRM
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-7315 url
- https://nvd.nist.gov/vuln/detail/CVE-2013-7315 advisory
- https://github.com/spring-projects/spring-framework/issues/15432 url
- https://jira.spring.io/browse/SPR-10806?redirect=false url
- https://github.com/advisories/GHSA-vp63-rrcm-9mph advisory