CVE-2011-5245: XML External Entity Injection in RESTEasy JAXBXmlTypeProvider
- Vendor
- Red Hat
CVE-2011-5245 is an XML external entity injection vulnerability in the readFrom function of RESTEasy's providers.jaxb.JAXBXmlTypeProvider in versions before 2.3.2. Processing attacker-controlled Java Architecture for XML Binding (JAXB) input containing an external entity reference can cause the server to resolve the entity and disclose local files accessible to the application-server operating-system user. The vulnerability is similar to CVE-2012-0818.
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.
Remote attackers can disclose arbitrary local files within the application-server user's read permissions. Exposure of sensitive information depends on the files accessible to that account.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, disable external entity processing in the XML parser configuration used by RESTEasy. Alternatively, restrict access to the affected endpoints and monitor for suspicious XML payloads. Consider using input validation and XML security features to prevent XXE attacks.
Remediation
Patch, then assume compromise.
Upgrade RESTEasy to version 2.3.2 or later. For affected Red Hat JBoss BPM Suite 6.0.0 and JBoss BRMS 6.0.0 installations, upgrade to version 6.0.1, which includes fixes for this vulnerability. Back up the installation, applications, configuration, and databases before updating; stop the JBoss Application Server before installation and restart it afterward.
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-2011-5245 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2011-5245 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2011-5245?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2011-5245.
- Is there a patch for CVE-2011-5245?
- Upgrade RESTEasy to version 2.3.2 or later. For affected Red Hat JBoss BPM Suite 6.0.0 and JBoss BRMS 6.0.0 installations, upgrade to version 6.0.1, which includes fixes for this vulnerability.
- What products are affected by CVE-2011-5245?
- Red Hat Resteasy.
- How severe is CVE-2011-5245?
- CVE-2011-5245 has a CVSS v2 score of 5.0 (Medium) and an EPSS score of 3.2% (89th percentile) as of Oct 16, 2026.
Recent activity
4 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.