{"id":"CVE-2021-31805","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.","aliases":["GHSA-v8j6-6c2r-r27c"],"modified":"2026-07-09T01:30:50.869024Z","published":"2022-04-12T16:15:08.133Z","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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apache/struts","events":[{"introduced":"2c0a197cea8fdc7d8cda5eeaa15a1c76507ac0a5"},{"last_affected":"00be9803d5ac4d6573179a460b4c0486d635f44a"}],"database_specific":{"cpe":"cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"2.0.0"},{"last_affected":"2.5.29"}],"source":"CPE_RANGE"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-31805.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}