{"id":"CVE-2021-31805","aliases":["GHSA-v8j6-6c2r-r27c"],"url":"https://o3.security/vulnerability/CVE-2021-31805","summary":"Expression Language Injection in Apache Struts","details":"The fix issued for CVE-2020-17530 was incomplete. So from Apache Struts 2.0.0 to 2.5.29, still some of the tag’s attributes could perform a double evaluation if a developer applied forced OGNL evaluation by using the %{...} syntax. Using forced OGNL evaluation on untrusted user input can lead to a Remote Code Execution and security degradation.","published":"2022-04-12T16:15:08.133Z","modified":"2026-07-09T01:30:50.869024Z","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"},"epss":null,"cisaKev":null,"exploitsKnown":9,"affectedPackages":[{"ecosystem":"Maven","name":"org.apache.struts:struts2-core","fixedVersion":"2.5.30"}],"fix":null,"references":[{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujul2022.html"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2022/04/12/6"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20220420-0001/"},{"type":"FIX","url":"https://cwiki.apache.org/confluence/display/WW/S2-062"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T01:30:50.869024Z"}}