CVE-2012-0391: The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during certain exception…
CVE-2012-0391 affects 54 listed versions of Apache Struts in the Dawnsentry catalogue. It is known to be exploited in the wild.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Apache Struts
54 of 125 listed versions are affected. Fixed in 2.2.3.1. The newest release, 7.5.1, is not affected.
2.2.3 2.2.1.1 2.2.1 2.1.8.1 2.1.8 2.1.7 2.1.6 2.1.5 2.1.4 2.1.3 2.1.2 2.1.1 2.1.0 2.1 2.0.14 2.0.13 2.0.12 2.0.11.2 2.0.11.1 2.0.11 2.0.10 2.0.9 2.0.8 2.0.7 2.0.6 2.0.5 2.0.4 2.0.3 2.0.2 1.3.10 1.3.9 1.3.8 1.3.7 1.3.6 1.3.5 1.2.9 1.2.8 1.2.7 1.2.6 1.2.5 1.2.4 1.2.3 1.2.2 1.2.1 1.2.0 1.1-b3 1.1-b2 1.1-b1 1.1 1.1-rc2 1.1-rc1 1.0.2 1.0.1 1.0
What it is
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during certain exception handling for mismatched data types of properties, which allows remote attackers to execute arbitrary Java code via a crafted parameter.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)
Published by MITRE on 8 January 2012. Last changed 16 June 2026. Exploit code is public (Metasploit or Nuclei).
Sources
Check one version you run: look CVE-2012-0391 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.