Skip to main content
Mallory
MediumVulnerability

CVE-2012-0818: XML external entity file disclosure in RESTEasy

Published Nov 23, 2012 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS5.0Medium · v2
EPSS3.2%89th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Red Hat
IdentifiersCVE-2012-0818CWE-611

CVE-2012-0818 is an XML external entity injection vulnerability in RESTEasy before 2.3.1. Processing an attacker-controlled external entity reference in a DOM document can cause the application server to resolve the entity and disclose local file contents. The related RESTEasy flaws CVE-2011-5245 and CVE-2012-0818 collectively affect DOM Document and JAXB input. The original fix was subsequently found to be incomplete, with external parameter entity handling addressed separately by CVE-2014-3490.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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 read files accessible to the operating-system account running the application server. Disclosure is bounded by that account's file permissions and can expose sensitive application or server data.

Mitigation

If you can’t patch tonight, do this now.

Prevent XML external entity processing and limit exposure of vulnerable RESTEasy endpoints until patched. Do not rely solely on disabling entity-reference expansion: the incomplete fix still permitted external parameter entities in a specific configuration.

Remediation

Patch, then assume compromise.

Upgrade RESTEasy versions earlier than 2.3.1 to a patched release. Because the original fix was incomplete, also apply fixes for CVE-2014-3490 rather than relying solely on the original update. Later remediation specifies RESTEasy 2.3.8.SP2 or later in the 2.3.x branch, or 3.0.9.Final or later in the 3.x branch. For affected JBoss BPM Suite and JBoss BRMS 6.0.0 deployments, version 6.0.1 includes the original CVE-2012-0818 fix; version 6.0.3 includes the follow-up CVE-2014-3490 fix.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

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.

VendorProductType
Red HatResteasyapplication
FAQ

Frequently asked questions

Is CVE-2012-0818 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2012-0818 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2012-0818?
As of Oct 16, 2026, Mallory has found no public exploit for CVE-2012-0818.
Is there a patch for CVE-2012-0818?
Upgrade RESTEasy versions earlier than 2.3.1 to a patched release. Because the original fix was incomplete, also apply fixes for CVE-2014-3490 rather than relying solely on the original update.
What products are affected by CVE-2012-0818?
Red Hat Resteasy.
How severe is CVE-2012-0818?
CVE-2012-0818 has a CVSS v2 score of 5.0 (Medium) and an EPSS score of 3.2% (89th percentile) as of Oct 16, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.