CVE-2013-1966
Arbitrary code execution in Apache Struts
Also known as CVE-2013-2115, EDB-25980, GHSA-737w-mh58-cxjp, GHSA-7ghm-rpc7-p7g5
Mitigation
- Upgrade org.apache.struts:struts2-core to 2.3.14.2 or later.
- Upgrade org.apache.struts.xwork:xwork-core to 2.3.14.2 or later.
Who should check
- Projects that depend on Maven package org.apache.struts:struts2-core (>= 2.0.0, < 2.3.14.2)
- Projects that depend on Maven package org.apache.struts.xwork:xwork-core (>= 2.0.0, < 2.3.14.2)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- org.apache.struts:struts2-core >= 2.0.0, < 2.3.14.2; org.apache.struts.xwork:xwork-core >= 2.0.0, < 2.3.14.2
- Fixed in
- 2.3.14.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.1 (v3.1, NVD)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 71.87% chance of exploitation in 30 days (percentile 100, 2026-11-26)
- CWE
- CWE-94
- Modified
Description
Apache Struts 2 before 2.3.14.2 allows remote attackers to execute arbitrary OGNL code via a crafted request that is not properly handled when using the includeParams attribute in the (1) URL or (2) A tag.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.struts:struts2-core | >= 2.0.0, < 2.3.14.2 | 2.3.14.2 | osv |
| Maven org.apache.struts.xwork:xwork-core | >= 2.0.0, < 2.3.14.2 | 2.3.14.2 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2013-1966. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2013-1966.md Affected: org.apache.struts:struts2-core >= 2.0.0, < 2.3.14.2; org.apache.struts.xwork:xwork-core >= 2.0.0, < 2.3.14.2 Fixed in: 2.3.14.2 Steps: 1. Search this machine and project for org.apache.struts:struts2-core (Maven), org.apache.struts.xwork:xwork-core (Maven), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- http://struts.apache.org/development/2.x/docs/s2-013.html
- https://cwiki.apache.org/confluence/display/WW/S2-013
- http://struts.apache.org/development/2.x/docs/s2-014.html
- https://cwiki.apache.org/confluence/display/WW/S2-014
- https://nvd.nist.gov/vuln/detail/CVE-2013-1966
- https://nvd.nist.gov/vuln/detail/CVE-2013-2115
Patches
- https://github.com/apache/struts/commit/7e6f641ebb142663cbd1653dc49bed725edf7f56
- https://github.com/apache/struts/commit/d7804297e319c7a12245e1b536e565fcea6d650
- https://github.com/apache/struts/commit/d934c6e7430b7b98e43a0a085a2304bd31a75c3d
- https://github.com/apache/struts/commit/ea96d18d0f75c390d2595648efa3563785c272c6
- https://github.com/apache/struts/commit/fed4f8e8a4ec69b5e7612b92d8ce3e476680474
Exploits and PoCs
FAQ
Is CVE-2013-1966 being exploited?
There is no confirmed exploitation: CVE-2013-1966 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 71.87% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2013-1966?
High: CVSS 8.1 (v3.1, scored by NVD). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2013-1966?
org.apache.struts:struts2-core >= 2.0.0, < 2.3.14.2; org.apache.struts.xwork:xwork-core >= 2.0.0, < 2.3.14.2.
Is there a fix for CVE-2013-1966?
Yes. Fixed in 2.3.14.2. Upgrade org.apache.struts:struts2-core to 2.3.14.2 or later. Upgrade org.apache.struts.xwork:xwork-core to 2.3.14.2 or later.
How do I check if I'm affected by CVE-2013-1966?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.