All vulnerabilities

Servers and applications

CVE-2012-0838

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.

Severity
High 10.0
Published
2 Mar 2012
Last changed
16 Jun 2026
Added to UpHeron
1 Nov 2026
Exploit chance
14% in the next 30 daysHigher than 96% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
Improper input validation (CWE-20)
Attack
Over the network · No login needed
Attacker can
Read data · Change data · Take it down
CVSS vector
AV:N/AC:L/Au:N/C:C/I:C/A:C
Sources
NVD

Affected software

SoftwareAffected versions
Apache StrutsServers and applications · cpe:a:apache:struts
  • From 2.0.0 up to 2.2.3

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2012-0838
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2012-0838