Skip to content

Missing XML Validation in Spring Framework

Moderate severity GitHub Reviewed Published May 13, 2022 to the GitHub Advisory Database • Updated Feb 27, 2024

Package

maven org.springframework:spring-oxm (Maven)

Affected versions

<= 3.2.3.RELEASE

Patched versions

3.2.4.RELEASE

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.

References

Published by the National Vulnerability Database Jan 23, 2014
Published to the GitHub Advisory Database May 13, 2022
Reviewed Jul 7, 2022
Last updated Feb 27, 2024

Severity

Moderate

EPSS score

0.563%
(78th percentile)

Weaknesses

CVE ID

CVE-2013-7315

GHSA ID

GHSA-vp63-rrcm-9mph

Source code

No known source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.