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 allows remote attackers to perform cross-site request forgery (CSRF) attacks by setting the token name configuration parameter to a session attribute.

Published: 2012-09-05 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2012-4386 is rated Moderate Risk (58/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 3.45%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2012-4386

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 3.23% 3.45% +0.22%
2 2026-03-17 5.67% 3.23% -2.44%
3 2026-03-04 5.67%

Full EPSS history (13 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2012-4386

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.8 2.0 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
8.6 6.4 [email protected]

Weakness enumeration for CVE-2012-4386

GitHub Security Advisory for CVE-2012-4386

GHSA-2rvh-q539-q33v · Severity: medium · Ecosystem: maven — Cross-Site Request Forgery in Apache Struts

OS Trackers for CVE-2012-4386

vendor priority summary link
ubuntu medium CVE-2012-4386 medium priority: Ubuntu including 1 source packages (libstruts1.2-java), 6 status rows across 6 suites (hardy, lucid, natty, oneiric, precise, upstream): not-affected 6. https://ubuntu.com/security/CVE-2012-4386

Affected software / configurations for CVE-2012-4386

Vendor Product Version Raw CPE
apache struts 2.0.0 cpe:2.3:a:apache:struts:2.0.0:*:*:*:*:*:*:*
apache struts 2.0.1 cpe:2.3:a:apache:struts:2.0.1:*:*:*:*:*:*:*
apache struts 2.0.2 cpe:2.3:a:apache:struts:2.0.2:*:*:*:*:*:*:*
apache struts 2.0.3 cpe:2.3:a:apache:struts:2.0.3:*:*:*:*:*:*:*
apache struts 2.0.4 cpe:2.3:a:apache:struts:2.0.4:*:*:*:*:*:*:*
apache struts 2.0.5 cpe:2.3:a:apache:struts:2.0.5:*:*:*:*:*:*:*
apache struts 2.0.6 cpe:2.3:a:apache:struts:2.0.6:*:*:*:*:*:*:*
apache struts 2.0.7 cpe:2.3:a:apache:struts:2.0.7:*:*:*:*:*:*:*
apache struts 2.0.8 cpe:2.3:a:apache:struts:2.0.8:*:*:*:*:*:*:*
apache struts 2.0.9 cpe:2.3:a:apache:struts:2.0.9:*:*:*:*:*:*:*
apache struts 2.0.10 cpe:2.3:a:apache:struts:2.0.10:*:*:*:*:*:*:*
apache struts 2.0.11 cpe:2.3:a:apache:struts:2.0.11:*:*:*:*:*:*:*
apache struts 2.0.11.1 cpe:2.3:a:apache:struts:2.0.11.1:*:*:*:*:*:*:*
apache struts 2.0.11.2 cpe:2.3:a:apache:struts:2.0.11.2:*:*:*:*:*:*:*
apache struts 2.0.12 cpe:2.3:a:apache:struts:2.0.12:*:*:*:*:*:*:*
apache struts 2.0.13 cpe:2.3:a:apache:struts:2.0.13:*:*:*:*:*:*:*
apache struts 2.0.14 cpe:2.3:a:apache:struts:2.0.14:*:*:*:*:*:*:*
apache struts 2.1.0 cpe:2.3:a:apache:struts:2.1.0:*:*:*:*:*:*:*
apache struts 2.1.1 cpe:2.3:a:apache:struts:2.1.1:*:*:*:*:*:*:*
apache struts 2.1.2 cpe:2.3:a:apache:struts:2.1.2:*:*:*:*:*:*:*
apache struts 2.1.3 cpe:2.3:a:apache:struts:2.1.3:*:*:*:*:*:*:*
apache struts 2.1.4 cpe:2.3:a:apache:struts:2.1.4:*:*:*:*:*:*:*
apache struts 2.1.5 cpe:2.3:a:apache:struts:2.1.5:*:*:*:*:*:*:*
apache struts 2.1.6 cpe:2.3:a:apache:struts:2.1.6:*:*:*:*:*:*:*
apache struts 2.1.8 cpe:2.3:a:apache:struts:2.1.8:*:*:*:*:*:*:*
apache struts 2.1.8.1 cpe:2.3:a:apache:struts:2.1.8.1:*:*:*:*:*:*:*
apache struts 2.2.1 cpe:2.3:a:apache:struts:2.2.1:*:*:*:*:*:*:*
apache struts 2.2.1.1 cpe:2.3:a:apache:struts:2.2.1.1:*:*:*:*:*:*:*
apache struts 2.2.3 cpe:2.3:a:apache:struts:2.2.3:*:*:*:*:*:*:*
apache struts 2.2.3.1 cpe:2.3:a:apache:struts:2.2.3.1:*:*:*:*:*:*:*
apache struts 2.3.1 cpe:2.3:a:apache:struts:2.3.1:*:*:*:*:*:*:*
apache struts 2.3.1.1 cpe:2.3:a:apache:struts:2.3.1.1:*:*:*:*:*:*:*
apache struts 2.3.1.2 cpe:2.3:a:apache:struts:2.3.1.2:*:*:*:*:*:*:*
apache struts 2.3.3 cpe:2.3:a:apache:struts:2.3.3:*:*:*:*:*:*:*
apache struts 2.3.4 cpe:2.3:a:apache:struts:2.3.4:*:*:*:*:*:*:*

References for CVE-2012-4386

cvelogic Threat Intelligence