{"id":"CVE-2013-2251","aliases":[],"url":"https://o3.security/vulnerability/CVE-2013-2251","summary":"Code injection in Apache Struts","details":"The Struts 2 DefaultActionMapper supports a method for short-circuit navigation state changes by prefixing parameters with \"action:\" or \"redirect:\", followed by a desired navigational target expression. This mechanism was intended to help with attaching navigational information to buttons within forms.\n\nIn Struts 2 before 2.3.15.1 the information following \"action:\", \"redirect:\" or \"redirectAction:\" is not properly sanitized. Since said information will be evaluated as OGNL expression against the value stack, this introduces the possibility to inject server side code.","published":"2022-05-13T01:14:26Z","modified":"2025-10-22T19:41:41.548096Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H"},"epss":{"score":0.99998,"percentile":0.9999,"asOf":"2026-08-27"},"cisaKev":{"dateAdded":"2022-03-25","dueDate":"2022-04-15","knownRansomwareCampaignUse":false},"exploitsKnown":7,"affectedPackages":[{"ecosystem":"Maven","name":"org.apache.struts:struts2-core","fixedVersion":"2.3.15.1"}],"fix":{"url":"https://github.com/apache/struts/commit/3cfe34fefedcf0fdcfcb061c0aea34a715b7de6","label":"apache/struts@3cfe34f"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-2251"},{"type":"WEB","url":"https://github.com/apache/struts/commit/3cfe34fefedcf0fdcfcb061c0aea34a715b7de6"},{"type":"WEB","url":"https://github.com/apache/struts/commit/630e1ba065a8215c4e9ac03bfb09be9d655c2b6e"},{"type":"WEB","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/90392"},{"type":"PACKAGE","url":"https://github.com/apache/struts"},{"type":"WEB","url":"https://issues.apache.org/jira/browse/WW-4140"},{"type":"WEB","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2013-2251"},{"type":"WEB","url":"http://archiva.apache.org/security.html"},{"type":"WEB","url":"http://cxsecurity.com/issue/WLB-2014010087"},{"type":"WEB","url":"http://packetstormsecurity.com/files/159629/Apache-Struts-2-Remote-Code-Execution.html"},{"type":"WEB","url":"http://seclists.org/fulldisclosure/2013/Oct/96"},{"type":"WEB","url":"http://seclists.org/oss-sec/2014/q1/89"},{"type":"WEB","url":"http://struts.apache.org/release/2.3.x/docs/s2-016.html"},{"type":"WEB","url":"http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20131023-struts2"},{"type":"WEB","url":"http://www.fujitsu.com/global/support/software/security/products-f/interstage-bpm-analytics-201301e.html"},{"type":"WEB","url":"http://www.oracle.com/technetwork/topics/security/cpujan2014-1972949.html"},{"type":"WEB","url":"http://www.oracle.com/technetwork/topics/security/cpujul2015-2367936.html"}],"provenance":{"sources":["OSV.dev","CISA KEV","FIRST.org (EPSS)"],"lastVerified":"2025-10-22T19:41:41.548096Z"}}