CVE-2012-4386
The token check mechanism in Apache Struts 2.0.0 through 2.3.4 does not properly validate the token name configuration parameter, which…
- Published
- Updated
- Reserved
- Assigned by
- redhat
Description
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.
Timeline
ID reserved
By redhat
- 15 days later
· 15 days later
Published
- 12 years later
· 12 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 3.4% · top 11% of all CVEs (8 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.8.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.struts:struts2-coreGHSA-2rvh-q539-q33v (opens in a new tab)
References (7)
- https://issues.apache.org/jira/browse/WW-3858 (opens in a new tab)x_refsource_CONFIRMx_transferred
- apache-struts-csrf(78182) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- [oss-security] 20120901 Re: CVE request: Apache Struts S2-010 and S2-011 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 50420 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 55346 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- http://struts.apache.org/2.x/docs/s2-010.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- [oss-security] 20120901 CVE request: Apache Struts S2-010 and S2-011 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-2rvh-q539-q33v (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2012-4386)Record last updated .