{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2012-0838","published":"2012-03-02T22:55:01.337000Z","last_modified":"2026-06-16T23:38:21.580000Z","status":"Modified","cvss":{"version":"2.0","score":10.0,"severity":"HIGH","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-20"],"cpes":[{"criteria":"cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"struts","version_start_including":"2.0.0","version_end_including":"2.2.3"}],"cpes_truncated":false,"vendors":["apache"],"products":["apache/struts"],"epss":{"score":0.13687,"percentile":0.97161,"date":"2026-11-27","model_version":"v2026.06.15"},"cat":"server","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-mwrx-hx6x-3hhv","ecosystem":"Maven","name":"org.apache.struts.xwork:xwork-core","purl":"pkg:maven/org.apache.struts.xwork/xwork-core","ranges":[{"introduced":"0","fixed":"2.2.3.1"}],"versions":["2.2.1","2.2.1.1","2.2.3"],"versions_truncated":false},{"advisory":"GHSA-mwrx-hx6x-3hhv","ecosystem":"Maven","name":"org.apache.struts:struts2-core","purl":"pkg:maven/org.apache.struts/struts2-core","ranges":[{"introduced":"0","fixed":"2.2.3.1"}],"versions":["2.0.11","2.0.11.1","2.0.11.2","2.0.12","2.0.14","2.0.5","2.0.6","2.0.8","2.0.9","2.1.2","2.1.6","2.1.8","2.1.8.1","2.2.1","2.2.1.1","2.2.3"],"versions_truncated":false}],"severity":"critical","priority_score":76,"links":{"html_es":"/es/cve/CVE-2012-0838/","html_en":"/en/cve/CVE-2012-0838/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-0838","cve_org":"https://www.cve.org/CVERecord?id=CVE-2012-0838"},"untrusted":{"vendor_name":"Apache","product_name":"Struts","desc_en":"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.","affected":[],"references":[{"url":"http://jvn.jp/en/jp/JVN79099262/index.html","tags":["Third Party Advisory","VDB Entry"]},{"url":"http://jvndb.jvn.jp/jvndb/JVNDB-2012-000012","tags":["Third Party Advisory","VDB Entry"]},{"url":"http://struts.apache.org/2.3.1.2/docs/s2-007.html","tags":["Vendor Advisory"]},{"url":"https://issues.apache.org/jira/browse/WW-3668","tags":["Issue Tracking","Vendor Advisory"]}]}}