CWE-352: Cross-Site Request Forgery
9637 CVEs have CWE-352 as their primary weakness. 5 of them are in the CISA KEV catalog. The highest EPSS score among them is 99.803%.
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.
Child of CWE-345: Insufficient Verification of Data Authenticity
Mitigations
- Architecture and Design: Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid [REF-1482]. For example, use anti-CSRF packages such as the OWASP CSRFGuard. [REF-330] Another example is the ESAPI Session Management control, which includes a component for CSRF. [REF-45]
- Implementation: Ensure that the application is free of cross-site scripting issues (CWE-79), because most CSRF defenses can be bypassed using attacker-controlled script.
- Architecture and Design: 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). [REF-332]
- Architecture and Design: 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.
- Architecture and Design: Use the double-submitted cookie method as described by Felten and Zeller: When a user visits a site, the site should generate a pseudorandom value and set it as a cookie on the user's machine. The site should require every form submission to include this value as a form value and also as a cookie value. When a POST request is sent to the site, the request should only be considered valid if the form value and the cookie value are the same. Because of the same-origin policy, an attacker cannot read or modify the value stored in the cookie. To successfully submit a form on behalf of the user, the attacker would have to correctly guess the pseudorandom value. If the pseudorandom value is cryptographically strong, this will be prohibitively difficult. This technique requires Javascript, so it may not work for browsers that have Javascript disabled. [REF-331]
- Architecture and Design: Do not use the GET method for any request that triggers a state change.
- Implementation: Check the HTTP Referer header to see if the request originated from an expected page. This could break legitimate functionality, because users or proxies may have disabled sending the Referer for privacy reasons.
Observed examples
- CVE-2004-1703: Add user accounts via a URL in an img tag
- CVE-2004-1995: Add user accounts via a URL in an img tag
- CVE-2004-1967: Arbitrary code execution by specifying the code in a crafted img tag or URL
- CVE-2004-1842: Gain administrative privileges via a URL in an img tag
- CVE-2005-1947: Delete a victim's information via a URL or an img tag
- CVE-2005-2059: Change another user's settings via a URL or an img tag
- CVE-2005-1674: Perform actions as administrator via a URL or an img tag
- CVE-2009-3520: modify password for the administrator
- CVE-2009-3022: CMS allows modification of configuration via CSRF attack against the administrator
- CVE-2009-3759: web interface allows password changes or stopping a virtual machine via CSRF
Top released CVEs
KEV first, then the highest EPSS score, the highest CVSS score and the newest.
| CVE | Published | Severity | CVSS | EPSS | Description |
|---|---|---|---|---|---|
| CVE-2016-6277 | 2016-12-14 | HIGH | 8.8 | 99.803% | NETGEAR R6250 before 1.0.4.6.Beta, R6400 before 1.0.1.18.Beta, R6700 before 1.0.1.14.Beta, R6900, R7000 before 1.0.7.6.Beta, R7100LG before 1.0.0.28.Beta… |
| CVE-2014-100005 | 2015-01-13 | HIGH | 8.0 | 43.456% | Multiple cross-site request forgery (CSRF) vulnerabilities in D-Link DIR-600 router (rev. Bx) with firmware before 2.17b02 allow remote attackers to hijack the… |
| CVE-2008-4128 | 2008-09-18 | HIGH | 8.1 | 33.871% | Multiple cross-site request forgery (CSRF) vulnerabilities in the HTTP Administration component in Cisco IOS 12.4 on the 871 Integrated Services Router allow… |
| CVE-2023-2533 | 2023-06-20 | HIGH | 8.4 | 28.831% | A Cross-Site Request Forgery (CSRF) vulnerability has been identified in PaperCut NG/MF, which, under specific conditions, could potentially enable an attacker… |
| CVE-2020-10181 | 2020-03-11 | CRITICAL | 9.8 | 14.938% | goform/formEMR30 in Sumavision Enhanced Multimedia Router (EMR) 3.0.4.27 allows creation of arbitrary users with elevated privileges (administrator) on a… |
| CVE-2026-113451 | 2026-11-16 | MEDIUM | 6.9 | not scored | visualTicket is vulnerable to Cross-Site Request Forgery (CSRF) across multiple endpoints. State-changing operations are exposed via GET requests without any… |
| CVE-2026-129945 | 2026-11-16 | MEDIUM | 4.3 | not scored | Keystatic through 0.6.9 contains a login cross-site request forgery vulnerability in the githubOauthCallback handler that allows unauthenticated remote… |
| CVE-2026-3860 | 2026-11-16 | LOW | 2.3 | not scored | CSRF vulnerability in OpenText Vibe versions <= 4.0.8.7 could expose the token over an insecure connection or make it accessible to JavaScript, weakening… |
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cwe_lookup/CWE-352'curl 'https://api.contrastcyber.com/cve_search?cwe_id=CWE-352'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).