{"cve":{"cve_id":"CVE-2021-31805","is_kev":false,"kev_date_added":null,"kev_vendor_project":null,"kev_product":null,"kev_vulnerability_name":null,"kev_short_description":null,"kev_required_action":null,"kev_due_date":null,"kev_known_ransomware":null,"kev_notes":null,"kev_cwes":null,"epss_score":0.85101,"epss_percentile":0.99682,"epss_as_of":"2026-06-23","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.","published_at":"2022-04-12T15:25:11Z","last_modified_at":null,"cvss_v3_score":null,"cvss_v3_vector":null,"cvss_v3_severity":null,"cvss_v4_score":null,"cvss_v4_vector":null,"cvss_v4_severity":null,"ssvc_decision":null,"ssvc_exploitation":null,"ssvc_automatable":null,"ssvc_technical_impact":null,"cwes":["CWE-917"],"nvd_references":["https://cwiki.apache.org/confluence/display/WW/S2-062","http://www.openwall.com/lists/oss-security/2022/04/12/6","https://www.oracle.com/security-alerts/cpujul2022.html","https://security.netapp.com/advisory/ntap-20220420-0001/"],"vuln_status":null,"trending_score":null,"is_trending":false,"has_trended":false,"trended_number_one":false,"trending_peak_score":null,"trending_peak_rank":null,"started_trending_at":null,"trended_number_one_at":null,"summary_generated":null,"summary_generated_at":null,"summary_model":null,"created_at":"2026-06-24T00:09:39.878444Z","updated_at":"2026-06-28T23:15:37.048393Z"},"effective_severity":null,"badges":["poc","epss"],"impact_analysis":[],"cvss_v3_decoded":{"version":null,"metrics":[]},"cvss_v4_decoded":{"version":null,"metrics":[]},"affected":[{"vendor_slug":"apache-software-foundation","vendor_name":"Apache Software Foundation","product_slug":"apache-struts","product_name":"Apache Struts","version_start":"2.0.0 to 2.5.29","version_start_inclusive":true,"version_end":"2.0.0 to 2.5.29","version_end_inclusive":true,"cpe23_uri":"cve5:apache-software-foundation:apache-struts:2.0.0 to 2.5.29:2.0.0 to 2.5.29"}],"exploit_refs":[{"source":"nuclei","kind":"nuclei","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-31805.yaml","title":"Apache Struts2 S2-062 - Remote Code Execution","author":"taielab","disclosed_at":null}],"news":[],"references":[{"url":"https://cwiki.apache.org/confluence/display/WW/S2-062","source_type":"MISC","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2022/04/12/6","source_type":"MAILING_LIST","tags":["mailing-list"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","source_type":"VENDOR_ADVISORY","tags":["advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20220420-0001/","source_type":"MISC","tags":[]}],"timeline":[{"type":"published","at":"2022-04-12T15:25:11Z","label":"CVE published","source":null},{"type":"poc_available","at":"2026-06-24T00:29:48.638073Z","label":"Public PoC available","source":"nuclei"}]}