Skip to content
Server Security Center
KEVcritical9.8

CVE-2020-17530: Apache Struts Remote Code Execution

Apache Struts · listed in the CISA catalog of actively exploited vulnerabilities since 2021-11-03.

CVSS v3.1 (CISA ADP)
9.8
critical
EPSS (exploit probability, 30 days)
96%
higher than 99.8% of all CVEs
Added to CISA KEV
2021-11-03
US federal due date 2022-05-03
Automatable (CISA SSVC)
yes
technical impact: total

CVE-2020-17530 explained

CVE-2020-17530 is a remote code execution vulnerability in Apache Struts. Forced OGNL evaluation on raw user input in tag attributes can let attackers run code on the server. It is listed in CISA's Known Exploited Vulnerabilities catalog, so attackers are known to use it.

Impact

A remote attacker without credentials or user interaction can exploit this over the network with low complexity. Successful exploitation can lead to remote code execution, with high impact on confidentiality, integrity and availability. CISA rates it as automatable, meaning it can be exploited at scale, with total technical impact on the affected component. Whether it has been used in ransomware campaigns is unknown.

Who is affected

The CVE record lists Apache Software Foundation Apache Struts, versions Struts 2.0.0 - Struts 2.5.25, as affected. The CVE record names no fixed version. Check the vendor advisory for the release that contains the fix.

Written with AI from the data on this page and checked against it automatically.

Official description

Forced OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code execution. Affected software : Apache Struts 2.0.0 - Struts 2.5.25.

CISA required action: Apply updates per vendor instructions.

CISA notes

Affected and fixed versions

From the CVE record published by the vendor or CVE numbering authority.

  • Apache Software Foundation Apache Struts
    Affected
    • Struts 2.0.0 - Struts 2.5.25
    Fixed in
    not stated

How to fix it

  • The CVE record names no fixed version – check the vendor advisory and CISA's required action for updates and mitigations.
  • Vendor advisory: cwiki.apache.org/confluence/display/WW/S2-061
  • CISA's deadline for US federal agencies: 2022-05-03 (passed) – a useful benchmark for everyone else, too.

What to do

  1. Identify all applications that use Apache Struts in the affected range Struts 2.0.0 - Struts 2.5.25.
  2. Apply updates per the vendor's instructions, as CISA requires, using the release named in the Apache advisory.
  3. Review application code for tag attributes that force OGNL evaluation on raw user input.
  4. Restrict network exposure of affected applications until they are updated.
  5. Check affected servers for signs of compromise, since the vulnerability is known to be exploited.

The CVE record names no fixed version, but this does not mean no fix exists. Follow the Apache vendor advisory to find the fixed release and apply updates per vendor instructions, as CISA requires. Until then, limit network access to affected applications and avoid forced OGNL evaluation on raw user input in tag attributes.

Written with AI from the data on this page and checked against it automatically.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
Yes – attackers can automate it at scale
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-917 Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')

Questions about CVE-2020-17530

Is CVE-2020-17530 being exploited?
Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2021-11-03, meaning attackers are known to use it. Use in ransomware campaigns is listed as unknown.
Do attackers need credentials to exploit it?
No. According to the CVSS data, the vulnerability is exploitable over the network without privileges or user interaction, and CISA considers it automatable.
What was the US federal deadline for remediation?
CISA set a due date of 2022-05-03 for US federal agencies, with the required action to apply updates per vendor instructions.

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-22. Always confirm with the vendor's or distribution's advisory before patching.