Medium

Apache Struts's CookieInterceptor component does not use the parameter-name whitelist

  • Disclosed: 04.05.2022
  • Updated: 11.10.2026 12:21

The CookieInterceptor component in Apache Struts before 2.3.1.1 does not use the parameter-name whitelist, which allows remote attackers to execute arbitrary commands via a crafted HTTP Cookie header that triggers Java code execution through a static method.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.struts:struts2-core < 2.2.3.1 2.2.3.1
Java / Kotlin (Maven) org.apache.struts.xwork:xwork-core < 2.2.3.1 2.2.3.1

References

CVSS score -
Weakness (CWE)
-
Platform
Java / Kotlin (Maven)
Package
org.apache.struts:struts2-core, org.apache.struts.xwork:xwork-core
Disclosed
04.05.2022
Updated
11.10.2026 12:21

Sources and licenses

OSV / GitHub Advisory Database - GHSA-2ppp-xj34-vvf7 - CC BY 4.0

Vulnerability history: org.apache.struts:struts2-core

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (60) in the archive
Total entries
60
First → latest
10.2018 01.2026
Without a fix
0
Exploited in attacks
6

Severity breakdown

  • Critical 14
  • High 25
  • Medium 20
  • Low 1

Disclosures per year

  1. 2018: 6
  2. 2019: 0
  3. 2020: 0
  4. 2021: 1
  5. 2022: 45
  6. 2023: 4
  7. 2024: 1
  8. 2025: 2
  9. 2026: 1
Severity:
  1. Apache Struts's CookieInterceptor component does not use the parameter-name whitelist this entry
    Medium CVE-2012-0392 < 2.2.3.1 2.2.3.1
  2. High · 8.1 CVE-2025-68493 >= 2.0.0, <= 2.3.37, >= 2.5.0, <= 2.5.33, >= 6.0.0, < 6.1.1 6.1.1
  3. High · 8.2 CVE-2025-66675 >= 2.0.0, < 6.8.0, >= 7.0.0, < 7.1.1 6.8.0, 7.1.1
  4. High · 7.5 CVE-2025-64775 >= 6.0.0, < 6.8.0, >= 7.0.0, < 7.1.1, >= 2.0.0, <= 2.3.37, >= 2.5.0, <= 2.5.33 6.8.0, 7.1.1
  5. Critical · 9.8 CVE-2024-53677 < 6.4.0 6.4.0
  6. Critical · 9.8 CVE-2023-50164 >= 2.0.0, < 2.5.33, >= 6.0.0, < 6.3.0.2 2.5.33, 6.3.0.2
  7. High · 7.5 CVE-2023-41835 >= 6.2.0, < 6.3.0.1, >= 6.0.0, < 6.1.2.2, < 2.5.32 6.3.0.1, 6.1.2.2, 2.5.32
  8. High · 7.5 CVE-2023-34396 < 2.5.31, >= 6.0.0, < 6.1.2.1 2.5.31, 6.1.2.1
  9. High · 7.5 CVE-2019-0233 >= 2.0.0, < 2.5.22 2.5.22
  10. Critical · 9.8 CVE-2016-3082 < 2.3.20.3, >= 2.3.24, < 2.3.24.3, >= 2.3.28, < 2.3.28.1 2.3.20.3, 2.3.24.3, 2.3.28.1
  11. High CVE-2013-4316 >= 2.0.0, < 2.3.15.2 2.3.15.2
  12. Critical · 9.8 CVE-2016-4436 >= 2.0.0, < 2.3.29, >= 2.5-BETA1, < 2.5.1 2.3.29, 2.5.1
  13. High CVE-2015-1831 >= 2.0.0, < 2.3.20.1 2.3.20.1
  14. High · 7.5 CVE-2015-5209 < 2.3.24.1 2.3.24.1
  15. High CVE-2013-2134 >= 2.0.0, < 2.3.14.3 2.3.14.3
  16. High CVE-2013-2135 >= 2.0.0, < 2.3.14.3 2.3.14.3
  17. High CVE-2012-0838 < 2.2.3.1 2.2.3.1
  18. High · 8.8 CVE-2016-4461 >= 2.0.0, < 2.3.29 2.3.29
  19. High CVE-2014-0112 < 2.3.20 2.3.20
  20. High CVE-2013-1966 >= 2.0.0, < 2.3.14.2 2.3.14.2
  21. High CVE-2014-0113 < 2.3.20 2.3.20
Show more (19) Showing 21 of 40

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.