Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CWE-352 (跨站请求伪造(CSRF)) — Vulnerability Class 4802

4802 vulnerabilities classified as CWE-352 (跨站请求伪造(CSRF)). AI Chinese analysis included.

CWE-352, Cross-Site Request Forgery, is a web application weakness where the system fails to verify that an incoming request was intentionally initiated by the authenticated user rather than an unauthorized actor. Attackers typically exploit this vulnerability by tricking a victim into submitting a malicious request, often via a hidden link or form on a third-party site, while the victim is logged into the target application. Because the browser automatically includes valid session cookies, the server processes the forged request as legitimate, potentially allowing unauthorized actions like fund transfers or profile changes. Developers mitigate this risk by implementing anti-CSRF tokens, synchronizer tokens, or validating the Origin and Referer headers to ensure requests originate from trusted sources, thereby preventing unauthorized state changes.

MITRE CWE Description
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.
Common Consequences (1)
Confidentiality, Integrity, Availability, Non-Repudiation, Access ControlGain Privileges or Assume Identity, Bypass Protection Mechanism, Read Application Data, Modify Application Data, DoS: Crash, Exit, or Restart
The consequences will vary depending on the nature of the functionality that is vulnerable to CSRF. An attacker could trick a client into making an unintentional request to the web server via a URL, image load, XMLHttpRequest, etc., which would then be treated as an authentic request from the client…
Mitigations (5)
Architecture and DesignUse 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]
ImplementationEnsure 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 DesignGenerate 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 DesignIdentify 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 DesignUse 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 f…
Examples (1)
This example PHP code attempts to secure the form submission process by validating that the user submitting the form has a valid session. A CSRF attack would not be prevented by this countermeasure because the attacker forges a request through the user's web browser in which a valid session already exists.
<form action="/url/profile.php" method="post"> <input type="text" name="firstname"/> <input type="text" name="lastname"/> <br/> <input type="text" name="email"/> <input type="submit" name="submit" value="Update"/> </form>
Bad · HTML
// initiate the session in order to validate sessions session_start(); //if the session is registered to a valid user then allow update if (! session_is_registered("username")) { echo "invalid session detected!"; // Redirect user to login page [...] exit; } // The user session is valid, so process the request // and update the information update_profile(); function update_profile { // read in the data from $POST and send an update // to the database SendUpdateToDatabase($_SESSION['username'], $_POST['email']); [...] echo "Your profile has been successfully updated."; }
Bad · PHP
CVE IDTitleCVSSSeverityPublished
CVE-2023-1068 Download Read More Excerpt Link <= 1.6.0 - Cross-Site Request Forgery to Settings Update — Read More Excerpt Link 4.3 Medium2023-02-27
CVE-2023-1033 Cross-Site Request Forgery (CSRF) in froxlor/froxlor — froxlor/froxlor 7.1 -2023-02-25
CVE-2023-1029 WP Meta SEO <= 4.5.3 - Cross-Site Request Forgery via 'regenerateSitemaps' — WP Meta SEO 4.3 Medium2023-02-24
CVE-2023-0999 SourceCodester Sales Tracker Management System cross-site request forgery — Sales Tracker Management System 4.3 Medium2023-02-24
CVE-2022-1607 Cross Site Scripting vulnerability in NE843 Pulsar Plus Controller — Pulsar Plus System Controller NE843_S 4.6 Medium2023-02-24
CVE-2023-0988 SourceCodester Online Pizza Ordering System cross-site request forgery — Online Pizza Ordering System 4.3 Medium2023-02-23
CVE-2023-24415 WordPress AI ChatBot plugin <= 4.2.8 is vulnerable to Cross Site Request Forgery (CSRF) — AI ChatBot 5.4 Medium2023-02-23
CVE-2023-24384 WordPress Organization chart Plugin <= 1.4.4 is vulnerable to Cross Site Request Forgery (CSRF) — Organization chart 4.3 Medium2023-02-23
CVE-2023-23659 WordPress MainWP Matomo Extension Plugin <= 4.0.4 is vulnerable to Cross Site Request Forgery (CSRF) — MainWP Matomo Extension 4.3 Medium2023-02-23
CVE-2023-20011 Cisco Application Policy Infrastructure Controller and Cisco Cloud Network Controller Cross-Site Request Forgery Vulnerability — Cisco Application Policy Infrastructure Controller (APIC) 8.8 High2023-02-23
CVE-2022-48320 CSRF in add-visual endpoint — Checkmk 5.4 Medium2023-02-20
CVE-2015-10081 arnoldle submitByMailPlugin edit_list.php cross-site request forgery — submitByMailPlugin 4.3 Medium2023-02-20
CVE-2023-25569 apollo-portal has potential CSRF issue — apollo 5.7 Medium2023-02-20
CVE-2023-24388 WordPress Booking calendar, Appointment Booking System Plugin <= 3.2.3 is vulnerable to Cross Site Request Forgery (CSRF) — Booking calendar, Appointment Booking System 5.4 Medium2023-02-17
CVE-2023-23899 WordPress Extensions For CF7 Plugin <= 2.0.8 is vulnerable to Cross Site Request Forgery (CSRF) — Extensions For CF7 (Contact form 7 Database, Conditional Fields and Redirection) 4.3 Medium2023-02-17
CVE-2022-47372 Stored cross-site scripting vulnerability in create event section — Pandora FMS 7.6 High2023-02-15
CVE-2022-47373 Reflected Cross Site Scripting in Search Functionality of Module Library — Pandora FMS 6.4 Medium2023-02-15
CVE-2023-23465 Media CP Media Control Panel – CSRF — Media Control Panel 9.1 Critical2023-02-15
CVE-2023-23847 Jenkins Plugin Synopsys Coverity 跨站请求伪造漏洞 — Synopsys Jenkins Coverity Plugin 8.8 -2023-02-15
CVE-2023-22942 Cross-Site Request Forgery in the ‘ssg/kvstore_client’ REST Endpoint in Splunk Enterprise — Splunk Enterprise 5.4 Medium2023-02-14
CVE-2023-24382 WordPress Material Design Icons for Page Builders Plugin <= 1.4.2 is vulnerable to Cross Site Request Forgery (CSRF) — Material Design Icons for Page Builders 5.4 Medium2023-02-14
CVE-2022-46862 WordPress Quiz And Survey Master Plugin <= 8.0.7 is vulnerable to Cross Site Request Forgery (CSRF) — Quiz And Survey Master – Best Quiz, Exam and Survey Plugin for WordPress 4.3 Medium2023-02-14
CVE-2023-24377 WordPress Ecwid Shopping Cart Plugin <= 6.11.3 is vulnerable to Cross Site Request Forgery (CSRF) — Ecwid Ecommerce Shopping Cart 4.3 Medium2023-02-14
CVE-2023-25065 WordPress WP Tabs Plugin <= 2.1.14 is vulnerable to Cross Site Request Forgery (CSRF) — WP Tabs – Responsive Tabs Plugin for WordPress 5.4 Medium2023-02-14
CVE-2023-25066 WordPress FV Flowplayer Video Player Plugin <= 7.5.30.7212 is vulnerable to Cross Site Request Forgery (CSRF) — FV Flowplayer Video Player 4.3 Medium2023-02-14
CVE-2022-43469 WordPress Corona Virus (COVID-19) Banner & Live Data Plugin <= 1.7.0.6 is vulnerable to Cross Site Request Forgery (CSRF) — Corona Virus (COVID-19) Banner & Live Data 5.4 Medium2023-02-14
CVE-2022-41134 WordPress Optinly Plugin <= 1.0.15 is vulnerable to Cross Site Request Forgery (CSRF) — Optinly – Exit Intent, Newsletter Popups, Gamification & Opt-in Forms 5.4 Medium2023-02-13
CVE-2022-34448 Dell PowerPath Management Appliance 跨站请求伪造漏洞 — PowerPath Management Appliance 8.8 High2023-02-10
CVE-2022-41620 WordPress SeoSamba for WordPress Webmasters Plugin <= 1.0.5 is vulnerable to Cross Site Request Forgery (CSRF) — SeoSamba for WordPress Webmasters 5.4 Medium2023-02-08
CVE-2023-0726 Wicked Folders <= 2.18.16 - Cross-Site Request Forgery via ajax_edit_folder — Wicked Folders – Folder Organizer for Pages, Posts, and Custom Post Types 5.4 Medium2023-02-08

Vulnerabilities classified as CWE-352 (跨站请求伪造(CSRF)) represent 4802 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.