# CVE-2012-0391: Apache Struts 2 Improper Input Validation Vulnerability

> CVE-2012-0391: Apache Struts 2 Improper Input Validation Vulnerability. CVSS 9.8 (CVSS 3.1), in CISA KEV.

Canonical: https://rewindex.com/cve/CVE-2012-0391
Last updated: 2025-10-22T00:05:48Z

- Published: 2012-01-08 15:00 UTC · Updated: 2025-10-22 00:05 UTC · Assigner: mitre
- CVSS: 9.8 (CVSS 3.1) · Severity: Critical · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 75.6%, 100th percentile (scored 2026-10-25)
- CISA KEV: yes, added 2022-01-21, federal due date 2022-07-21, ransomware use: Unknown

## Description

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.

## CISA required action

Apply updates per vendor instructions.

## Affected vendors and products

- Apache: Struts 2

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2012-0391)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2012-0391)
- [http://archives.neohapsis.com/archives/bugtraq/2012-01/0031.html](http://archives.neohapsis.com/archives/bugtraq/2012-01/0031.html)
- [http://secunia.com/advisories/47393](http://secunia.com/advisories/47393)
- [https://issues.apache.org/jira/browse/WW-3668](https://issues.apache.org/jira/browse/WW-3668)
- [http://struts.apache.org/2.x/docs/s2-008.html](http://struts.apache.org/2.x/docs/s2-008.html)
- [http://struts.apache.org/2.x/docs/version-notes-2311.html](http://struts.apache.org/2.x/docs/version-notes-2311.html)
- [https://www.sec-consult.com/files/20120104-0\_Apache\_Struts2\_Multiple\_Critical\_Vulnerabilities.txt](https://www.sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txt)
- [http://www.exploit-db.com/exploits/18329](http://www.exploit-db.com/exploits/18329)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2012-0391 · Markdown: https://rewindex.com/cve/CVE-2012-0391.md · JSON: https://rewindex.com/api/v1/cves/CVE-2012-0391 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:44:13.741Z
