{"cve":"CVE-2021-31805","nvd":{"published":"2022-04-12T16:15:08.133","modified":"2026-06-17T03:52:15.950","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-917"],"references":["http://www.openwall.com/lists/oss-security/2022/04/12/6","https://cwiki.apache.org/confluence/display/WW/S2-062","https://security.netapp.com/advisory/ntap-20220420-0001/","https://www.oracle.com/security-alerts/cpujul2022.html","http://www.openwall.com/lists/oss-security/2022/04/12/6"],"products":["apache:struts"],"source":"nvd","synced_at":"2026-10-19T21:30:03.577988018+00:00"},"epss":{"cve":"CVE-2021-31805","score":0.85433,"percentile":0.9972,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-v8j6-6c2r-r27c","url":"https://osv.dev/vulnerability/GHSA-v8j6-6c2r-r27c","summary":"Expression Language Injection in Apache Struts","modified":"2024-02-20T05:22:46.454990Z","packages":[{"ecosystem":"Maven","name":"org.apache.struts:struts2-core","purl":"pkg:maven/org.apache.struts/struts2-core","ranges":[">=2.0.0 <2.5.30"],"fixed":["2.5.30"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}