Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.struts/struts2-core
  4. ›
  5. CVE-2020-17530

CVE-2020-17530: Remote code execution in Apache Struts

February 9, 2022 (updated October 22, 2025)

Forced OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code execution.

References

  • cwiki.apache.org/confluence/display/WW/S2-061
  • github.com/advisories/GHSA-jc35-q369-45pv
  • github.com/apache/struts
  • nvd.nist.gov/vuln/detail/CVE-2020-17530
  • security.netapp.com/advisory/ntap-20210115-0005
  • www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-17530
  • www.oracle.com//security-alerts/cpujul2021.html
  • www.oracle.com/security-alerts/cpuApr2021.html
  • www.oracle.com/security-alerts/cpuapr2022.html
  • www.oracle.com/security-alerts/cpujan2021.html
  • www.oracle.com/security-alerts/cpujan2022.html
  • www.oracle.com/security-alerts/cpuoct2021.html

Code Behaviors & Features

Detect and mitigate CVE-2020-17530 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.0.0 before 2.5.26

Fixed versions

  • 2.5.26

Solution

Upgrade to version 2.5.26 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-917: Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

maven/org.apache.struts/struts2-core/CVE-2020-17530.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 08 Dec 2025 00:19:52 +0000.