CVE-2013-4152: XXE in Spring OXM JAXB Unmarshaller
- Vendors
- VMwareSpringsource
CVE-2013-4152 is an XML External Entity (XXE) vulnerability in the Spring OXM wrapper when it uses JAXB. Affected Spring Framework versions before 3.2.4 and 4.0.0.M1 did not expose a means to disable XML entity resolution. Consequently, attacker-controlled XML containing an external entity declaration and reference could be resolved while processing DOMSource, StAXSource, SAXSource, or StreamSource input.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
A remote attacker able to submit XML to an affected processing path can cause the application server to resolve external entities. This can disclose arbitrary files readable by the application-server account, cause denial of service through malicious XML entity processing, and support cross-site request forgery attacks.
Mitigation
If you can’t patch tonight, do this now.
Until upgraded, prevent untrusted XML from reaching Spring OXM JAXB processing. Where XML processing cannot be avoided, enforce parser settings that disallow DTDs and external general and parameter entities, and restrict the application-server account's filesystem permissions to reduce disclosure impact.
Remediation
Patch, then assume compromise.
Upgrade Spring Framework to a fixed release: version 3.2.4 or later in the 3.2.x line, or 4.0.0.M1 or later in the 4.0.x line. For affected Red Hat JBoss Fuse or JBoss A-MQ 6.0.0 deployments, apply the 6.1.0 product update. Fixed implementations disable external-entity processing by default while retaining a configuration directive to explicitly re-enable it where required.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2013-4152 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2013-4152 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2013-4152?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2013-4152.
- Is there a patch for CVE-2013-4152?
- Upgrade Spring Framework to a fixed release: version 3.2.4 or later in the 3.2.x line, or 4.0.0.M1 or later in the 4.0.x line. For affected Red Hat JBoss Fuse or JBoss A-MQ 6.0.0 deployments, apply the 6.1.0 product update.
- What products are affected by CVE-2013-4152?
- VMware Spring Framework and Springsource Spring Framework.
- How severe is CVE-2013-4152?
- CVE-2013-4152 has a CVSS v2 score of 6.8 (Medium) and an EPSS score of 25.6% (98th percentile) as of Oct 16, 2026.
Recent activity
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.