CVE-2012-0391: Apache Struts 2 Improper Input Validation Vulnerability
Critical severity, CVSS 9.8. Actively exploited: in CISA KEV since 2022-01-21. EPSS: 77% probability of exploitation activity in the next 30 days.
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.
What to do
CISA's required action (US federal agencies, by 2022-07-21): Apply updates per vendor instructions.
The record states a fixed version for the versions it affects. If you run one, update to it.
- Apache Struts, before 2.2.3.1: fixed in 2.2.3.1
Affected products
Affected packages
- org.apache.struts.xwork:xwork-core (Maven)
- org.apache.struts:struts2-core (Maven)
Published 2012-01-08. Last modified 2026-06-16.