Cross-Site Request Forgery in Spring Framework
Moderate severity
GitHub Reviewed
Published
May 13, 2022
to the GitHub Advisory Database
•
Updated Feb 27, 2024
Package
Affected versions
<= 3.2.3.RELEASE
Patched versions
3.2.4.RELEASE
Description
Published by the National Vulnerability Database
Jan 23, 2014
Published to the GitHub Advisory Database
May 13, 2022
Reviewed
Jul 8, 2022
Last updated
Feb 27, 2024
The Spring OXM wrapper in Spring Framework before 3.2.4 and 4.0.0.M1, when using the JAXB marshaller, does not disable entity resolution, which allows context-dependent attackers to read arbitrary files, cause a denial of service, and conduct CSRF attacks via an XML external entity declaration in conjunction with an entity reference in a (1) DOMSource, (2) StAXSource, (3) SAXSource, or (4) StreamSource, aka an XML External Entity (XXE) issue.
References