CVE-2012-0838: Apache Struts

High severity, CVSS 10.0. EPSS: 14% probability of exploitation activity in the next 30 days.

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.

What to do

No fixed version is stated in NVD's or the CNA's structured data. The description says "before 2.2.3.1"; check the vendor's advisory for the release that fixes it.

Affected products

Affected packages

Published 2012-03-02. Last modified 2026-06-16.