# CVE-2012-0838

- Priority: **Routine**
- Reason: Not severe (CVSS 10, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2012-03-02 · Modified: 2024-08-06
- Aliases: GHSA-mwrx-hx6x-3hhv
- Record: https://cvemate.com/vulnerability/CVE-2012-0838 · JSON: https://cvemate.com/vulnerability/CVE-2012-0838/json

## Description

```text
Apache Struts 2 before 2.2.3.1 evaluates a string as an OGNL expression during the handling of a conversion error, which allows remote attackers to modify run-time data values, and consequently execute arbitrary code, via invalid input to a field.
```

## Signals

- CVSS: 10 high (v2.0, NVD) AV:N/AC:L/Au:N/C:C/I:C/A:C
- EPSS: 13.687%, percentile 96.594%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache struts: ≥ 2.0.0, ≤ 2.2.3
- org.apache.struts struts2-core (Maven): \< 2.2.3.1
- org.apache.struts.xwork xwork-core (Maven): \< 2.2.3.1

## References

- <http://jvndb.jvn.jp/jvndb/JVNDB-2012-000012>
- <http://struts.apache.org/2.3.1.2/docs/s2-007.html>
- <https://issues.apache.org/jira/browse/WW-3668>
- <http://jvn.jp/en/jp/JVN79099262/index.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2012-0838>
- <https://github.com/apache/struts/commit/25e50069d60434a30395e3a98357ffba2bed427e>
- <https://github.com/apache/struts/commit/5f54b8d087f5125d96838aafa5f64c2190e6885b>
- <https://github.com/apache/struts/commit/b4265d369dc29d57a9f2846a85b26598e83f3892>
- <https://github.com/apache/struts>

---

Data as of 2026-12-05T07:57:44.895Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
