Skip to main content

About CWE-352

MITRE lists these common consequences: Gain Privileges or Assume Identity, Bypass Protection Mechanism, Read Application Data, Modify Application Data, DoS: Crash, Exit, or Restart, affecting confidentiality, integrity, availability, non-repudiation, access control.

MITRE name
Cross-Site Request Forgery
Abstraction
Compound: an entry that closely associates two or more weaknesses
Status
Stable

Also Known As

  • Session Riding
  • Cross Site Reference Forgery
  • XSRF
  • CSRF

Mitigations

  • Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.
  • Ensure that the application is free of cross-site scripting issues (CWE-79), because most CSRF defenses can be bypassed using attacker-controlled script.
  • Generate a unique nonce for each form, place the nonce into the form, and verify the nonce upon receipt of the form. Be sure that the nonce is not predictable (CWE-330).
  • Identify especially dangerous operations. When the user performs a dangerous operation, send a separate confirmation request to ensure that the user intended to perform that operation.

Detection
MITRE lists these detection methods: Manual Analysis (high), Dynamic Analysis with Automated Results Interpretation (high), Dynamic Analysis with Manual Results Interpretation (high), Automated Static Analysis (limited), Automated Static Analysis - Binary or Bytecode.

CWE-352 in the KEV Catalog

as of 2026-11-16
All KEV statistics→
  • 6 CISA KEV entries name Cross Site Reference Forgery (CWE-352) in their CVE record, tied for 41st among the 195 weaknesses named in the catalog.
  • CISA added 1 CWE-352 entry to the KEV catalog in 2024, 1 in 2025, and 2 so far in 2026.

Related Attack Patterns

4 CAPEC patterns
CAPEC-62Cross Site Request ForgeryStandard · Severity Very High · Likelihood High
CAPEC-111JSON Hijacking (aka JavaScript Hijacking)Standard · Severity High · Likelihood High
CAPEC-462Cross-Domain Search TimingDetailed · Severity Medium
CAPEC-467Cross Site IdentificationDetailed · Severity Low

CWE-352 Vulnerabilities

6 CVEs
CVECVSS
CVE-2025-62593KEV
Ray is vulnerable to RCE via Safari & Firefox Browsers through DNS Rebinding Attack
9.4
CVE-2008-4128KEV
Cisco IOS Cross-Site Request Forgery Vulnerability
8.1
CVE-2023-2533KEV
PaperCut MF/NG 22.0.10 (Build 65996 2023-03-27) - Remote code execution via CSRF
8.4
CVE-2014-100005KEV
D-Link DIR-600 Router Cross-Site Request Forgery (CSRF) Vulnerability
8.0
CVE-2016-6277KEV
NETGEAR Multiple Routers Remote Code Execution Vulnerability
8.8
CVE-2020-10181KEV
Sumavision EMR Cross-Site Request Forgery (CSRF) Vulnerability
9.8

Frequently Asked Questions

What is CWE-352?→

CWE-352 (Cross-Site Request Forgery) is a MITRE CWE entry. The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.

How many exploited vulnerabilities are classified as CWE-352?→

This database lists 6 CVE records mapped to CWE-352 by their CVE Numbering Authority. 6 of them are in the CISA Known Exploited Vulnerabilities catalog. Examples include CVE-2025-62593, CVE-2008-4128, CVE-2023-2533.

Weakness description, consequences, and mitigations from the CWE List, © The MITRE Corporation, used under the CWE Terms of Use. CWE mappings come from each CVE record's CNA. Exploited-in-the-wild data from the CISA KEV catalog (CC0). This site is not affiliated with or endorsed by MITRE or CISA. Attack patterns from CAPEC 3.9, © The MITRE Corporation, used under the CAPEC Terms of Use.