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.
CVE-2012-0391
Score elevated to 9.8 because this CVE is listed on the CISA Known Exploited Vulnerabilities catalog (added 2022-01-21), indicating real-world exploitation has been confirmed by US federal agencies. NVD baseline CVSS 9.8 retained for reference. Confidence: HIGH.
- Actively exploited in the wild (CISA-KEV)
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.8
- EG Score
- 9.8(high)
- EG Risk
- 99(Act)EG Risk 99/100SSVC: Act
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity98% × 45%Exploitation100% × 40%Automatability100% × 15%Action: Fix now — active exploitation, automatable, high impact. - EPSS PROB
- 75%
- EPSS %ILE
- 99%
- KEV
- ⚠ Exploited
Published
January 8, 2012
Last Modified
April 22, 2026
Advisory Details (4)
Auto-updated Jul 27, 2026[WW-3668] Vulnerability: User input is evaluated as an OGNL expression when there's a conversion error. - ASF Jira
https://issues.apache.org/jira/browse/WW-3668Apache Struts 2 < 2.3.1 - Multiple Vulnerabilities - Multiple webapps Exploit
http://www.exploit-db.com/exploits/18329S2-008 - Apache Struts 2 Wiki - Apache Software Foundation
http://struts.apache.org/2.x/docs/s2-008.htmlAffected Packages
(2 across 1 ecosystem)
Maven(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| org.apache.struts:struts2-core | 2.0.11 ... 2.2.3 (16 versions) | 2.2.3.1 | — |
| org.apache.struts.xwork:xwork-core | 2.2.1, 2.2.1.1, 2.2.3 | 2.2.3.1 | — |
Data Freshness Timeline
(refreshed 16× in last 7d / 38× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 104 total refreshes for this CVE.
- 2026-07-26 15:45 UTCEG score recompute
- 2026-07-26 11:25 UTCEG score recompute
- 2026-07-26 02:43 UTCEG score recompute
- 2026-07-25 14:12 UTCEPSS rescore
- 2026-07-23 14:14 UTCEPSS rescore
- 2026-07-23 01:06 UTCEG score recompute
- 2026-07-23 00:10 UTCEG score recompute
- 2026-07-22 21:48 UTCEG score recompute
- 2026-07-22 19:40 UTCCISA KEV update
- 2026-07-22 14:36 UTCEG score recompute
- 2026-07-22 14:04 UTCEPSS rescore
- 2026-07-22 14:04 UTCEPSS rescore
- 2026-07-21 14:37 UTCCISA KEV update
- 2026-07-20 17:04 UTCEG score recompute
- 2026-07-20 17:03 UTCEPSS rescore
- 2026-07-20 17:03 UTCEPSS rescore
- 2026-07-17 10:57 UTCEG score recompute
- 2026-07-16 17:04 UTCCISA KEV update
- 2026-07-15 16:54 UTCEPSS rescore
- 2026-07-15 16:54 UTCEPSS rescore
- 2026-07-15 16:49 UTCCISA KEV update
- 2026-07-15 15:04 UTCCISA KEV update
- 2026-07-14 18:05 UTCCISA KEV update
- 2026-07-13 17:07 UTCCISA KEV update
- 2026-07-13 06:08 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-07-11 08:22 UTCEPSS rescore
- 2026-07-10 17:52 UTCCISA KEV update
- 2026-07-09 19:05 UTCEPSS rescore
- 2026-07-07 19:01 UTCCISA KEV update
- 2026-07-07 17:16 UTCCISA KEV update
- 2026-07-05 02:26 UTCEPSS rescore
- 2026-07-02 14:01 UTCEPSS rescore
- 2026-07-01 19:16 UTCCISA KEV update
- 2026-07-01 15:02 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-29 19:12 UTCCISA KEV update
- 2026-06-29 14:02 UTCEPSS rescore
- 2026-06-27 03:05 UTCEPSS rescore
- 2026-06-27 03:05 UTCEPSS rescore
- 2026-06-25 19:15 UTCCISA KEV update
- 2026-06-25 13:46 UTCEPSS rescore
- 2026-06-25 13:46 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-23 17:44 UTCCISA KEV update
- 2026-06-21 01:56 UTCEPSS rescore
- 2026-06-21 01:56 UTCEPSS rescore
- 2026-06-18 16:13 UTCCISA KEV update
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-16 19:33 UTCCISA KEV update
- 2026-06-16 17:49 UTCEPSS rescore
- 2026-06-16 17:49 UTCEPSS rescore
- 2026-06-15 19:33 UTCCISA KEV update
- 2026-06-15 17:44 UTCEPSS rescore
- 2026-06-12 23:08 UTCEPSS rescore
- 2026-06-12 17:35 UTCCISA KEV update
- 2026-06-11 19:10 UTCCISA KEV update
- 2026-06-10 22:14 UTCEPSS rescore
- 2026-06-10 13:18 UTCEPSS rescore
- 2026-06-09 18:42 UTCCISA KEV update
- 2026-06-09 17:12 UTCCISA KEV update
- 2026-06-08 19:16 UTCCISA KEV update
- 2026-06-08 17:26 UTCCISA KEV update
- 2026-06-08 14:14 UTCEPSS rescore
- 2026-06-08 14:14 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-05 22:44 UTCEPSS rescore
- 2026-06-05 22:44 UTCEPSS rescore
- 2026-06-05 22:43 UTCCISA KEV update
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-03 19:09 UTCCISA KEV update
- 2026-06-02 18:32 UTCCISA KEV update
- 2026-06-01 20:42 UTCCISA KEV update
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-29 22:20 UTCCISA KEV update
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-27 20:35 UTCCISA KEV update
- 2026-05-26 19:13 UTCCISA KEV update
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-22 19:13 UTCCISA KEV update
- 2026-05-21 22:39 UTCEPSS rescore
- 2026-05-21 22:36 UTCCISA KEV update
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 17:33 UTCCISA KEV update
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-18 21:51 UTCEG score recompute
Publicly available exploits
(3 references)Working exploit code is in the public domain (1 Metasploit module) (2 Exploit-DB entries). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-18984✓ verifiedFirst seen Jun 5, 2012
Apache Struts 2.2.1.1 - Remote Command Execution (Metasploit)
Open source ↗ - Exploit-DBEDB-18329✓ verifiedFirst seen Jan 6, 2012
Apache Struts 2 < 2.3.1 - Multiple Vulnerabilities
Open source ↗ - Metasploitexploit/multi/http/struts_code_exec_exception_delegator✓ verifiedFirst seen Jan 6, 2012
Apache Struts Remote Command Execution
Open source ↗
Frequently asked(6)
What is CVE-2012-0391?
When was CVE-2012-0391 disclosed?
Is CVE-2012-0391 actively exploited?
What is the CVSS score of CVE-2012-0391?
Which products are affected by CVE-2012-0391?
How do I remediate CVE-2012-0391?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2012-0391
Is Your Infrastructure Affected by CVE-2012-0391?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.