CVE-2014-0225: Improper Restriction of XML External Entity Reference in Spring Framework
8.8
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.52113%
CWE
Published
5/13/2022
Updated
2/27/2024
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| org.springframework:spring-webmvc | maven | >= 4.0.0, < 4.0.5 | 4.0.5 |
| org.springframework:spring-webmvc | maven | >= 3.0.0, < 3.2.8 | 3.2.8 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from XML processors not disabling external entity resolution by default. The commit diffs show fixes where EntityResolver/XMLResolver were added to block external DTD resolution. The vulnerable functions are the original implementations of these XML parsing methods that lacked these protections. Each identified function directly handles XML parsing configuration and was modified in the patches to mitigate XXE, confirming their role in the vulnerability.