目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1000

100.0%

CWE-352 跨站请求伪造(CSRF) 类漏洞列表 4773

CWE-352 跨站请求伪造(CSRF) 类弱点 4773 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-352 跨站请求伪造是一种身份验证缺陷漏洞,指应用未能充分验证请求是否由用户主动发起。攻击者通常通过诱导用户点击恶意链接或加载隐蔽图片,利用用户已登录的会话状态,以用户身份执行非预期的操作,如转账或修改密码。开发者可通过在请求中添加并验证唯一的 CSRF 令牌、检查 Referer 头以及使用 SameSite Cookie 属性来有效防御此类攻击。

MITRE CWE 官方描述
CWE:CWE-352 跨站请求伪造 (CSRF) 英文:Web 应用程序未能或无法充分验证请求是否由发送该请求的用户有意提供,该请求可能源自未授权的主体。
常见影响 (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…
缓解措施 (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…
代码示例 (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 ID标题CVSS风险等级Published
CVE-2026-42286 Emlog 管理员功能跨站请求伪造漏洞 — emlog--2026-05-08
CVE-2026-42190 RedwoodSDK 服务器操作同源CSRF漏洞 — sdk 5.3 Medium2026-05-08
CVE-2026-5791 DivvyDrive CSRF 漏洞 — DivvyDrive 9.6 Critical2026-05-07
CVE-2026-27415 WordPress BEAR 插件 <=1.1.5 跨站请求伪造漏洞 — BEAR 4.3 Medium2026-05-07
CVE-2025-68604 WordPress WPGraphQL插件 <= 2.5.3 跨站请求伪造漏洞 — WPGraphQL 5.4 Medium2026-05-07
CVE-2026-41663 Admidio后台CSRF致越权备份及写.htaccess — admidio 3.5 Low2026-05-07
CVE-2026-40326 Masa CMS 站点包创建CSRF致数据泄露 — MasaCMS--2026-05-06
CVE-2026-40325 Masa CMS内容恢复CSRF漏洞 — MasaCMS--2026-05-06
CVE-2026-40309 Masa CMS 垃圾管理 CSRF 导致未授权永久删除内容 — MasaCMS--2026-05-06
CVE-2026-40174 Masa CMS 用户地址管理 CSRF 漏洞 — MasaCMS--2026-05-06
CVE-2025-31957 HCL BigFix Service Management CSRF漏洞 — BigFix Service Management (SM) 2.6 Low2026-05-06
CVE-2026-6702 Ping.fm <=1.1 跨站请求伪造致存储型XSS漏洞 — Publish 2 Ping.fm 6.1 Medium2026-05-05
CVE-2026-6700 DX Sources <= 2.0.1 跨站请求伪造至设置更新漏洞 — DX Sources 4.3 Medium2026-05-05
CVE-2026-6701 addfreespace <=0.1.3 设置页跨站请求伪造致存储型XSS漏洞 — addfreespace 4.3 Medium2026-05-05
CVE-2026-42091 goshs PUT Wildcard CORS 任意文件写入漏洞 — goshs 6.5 Medium2026-05-04
CVE-2026-3140 Ultimate Dashboard <= 3.8.14 CSRF漏洞 — Ultimate Dashboard – Custom WordPress Dashboard 4.3 Medium2026-05-01
CVE-2026-3772 WP Editor <=1.2.9.2 插件主题编辑器 CSRF 致远程代码执行漏洞 — WP Editor 8.8 High2026-05-01
CVE-2018-25310 VideoFlow Digital Video Protection DVP 跨站请求伪造漏洞 — VideoFlow Digital Video Protection 4.3 Medium2026-04-29
CVE-2018-25298 Merative Merge PACS 跨站请求伪造漏洞 — Merge PACS 5.3 Medium2026-04-29
CVE-2026-42645 WordPress Plugin Barcode Scanner with Inventory & Order Manager 跨站请求伪造漏洞 — Barcode Scanner with Inventory & Order Manager 4.3 Medium2026-04-29
CVE-2026-7108 Code-Projects Invoice System in Laravel 跨站请求伪造漏洞 — Invoice System in Laravel 4.3 Medium2026-04-27
CVE-2026-41425 Authlib 跨站请求伪造漏洞 — authlib 5.4 Medium2026-04-24
CVE-2026-3565 WordPress plugin Taqnix 跨站请求伪造漏洞 — Taqnix 4.3 Medium2026-04-24
CVE-2026-41317 Press 跨站请求伪造漏洞 — press 8.8AIHighAI2026-04-24
CVE-2026-27841 SenseLive X3050 跨站请求伪造漏洞 — X3050 8.1 High2026-04-24
CVE-2026-41347 OpenClaw 跨站请求伪造漏洞 — OpenClaw 7.1 High2026-04-23
CVE-2026-40471 hackage-server 跨站请求伪造漏洞 9.6 Critical2026-04-23
CVE-2026-4922 GitLab CE/EE 跨站请求伪造漏洞 — GitLab 8.1 High2026-04-22
CVE-2025-58922 WordPress plugin Avada 跨站请求伪造漏洞 — Avada 4.3 Medium2026-04-22
CVE-2026-4138 WordPress plugin DX Unanswered Comments 跨站请求伪造漏洞 — DX Unanswered Comments 4.3 Medium2026-04-22

CWE-352(跨站请求伪造(CSRF)) 是常见的弱点类别,本平台收录该类弱点关联的 4773 条 CVE 漏洞。