CVE-2012-4386 json
Cross-Site Request Forgery in Apache Struts
published 2012-09-05 14 y ago modified 2026-06-16 4 mo ago also GHSA-2rvh-q539-q33v , EUVD-2022-2048
- cvss
- 6.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.4%
- EPSS 3.4% chance of exploitation in 30 days, percentile 88%
- public exploits
- 0
- none known
Summary
The token check mechanism in Apache Struts 2.0.0 through 2.3.4 does not properly validate the token name configuration parameter, which allows remote attackers to perform cross-site request forgery (CSRF) attacks by setting the token name configuration parameter to a session attribute.
Patch / fix
- maven org.apache.struts:struts2-core 2.3.4.1
Exploit prediction
3.36% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.struts:struts2-core | >=2.0.0, <2.3.4.1 |
2.3.4.1 |
Classification
- Weakness
-
- CWE-352 Cross-Site Request Forgery
References
-
secunia.com
/advisories/50420
third-party-advisory, vendor-advisory
-
struts.apache.org
/2.x/docs/s2-010.html
web, vendor-advisory
-
issues.apache.org
/jira/browse/WW-3858
web
-
exchange.xforce.ibmcloud.com
/vulnerabilities/78182
vdb-entry, web
-
openwall.com
/lists/oss-security/2012/09/01/5
mailing-list, web
-
securityfocus.com
/bid/55346
vdb-entry
-
openwall.com
/lists/oss-security/2012/09/01/4
mailing-list, web
-
nvd.nist.gov
/vuln/detail/CVE-2012-4386
advisory
Sources
- CVE List CVE-2012-4386
- GitHub Advisory GHSA-2rvh-q539-q33v
- NVD CVE-2012-4386
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.