CWE-79 在Web页面生成时对输入的转义处理不恰当(跨站脚本) 类弱点 21807 条 CVE 漏洞汇总,含 AI 中文分析。
CWE-79 即跨站脚本攻击,属于输入验证类漏洞。攻击者通过在网页中注入恶意脚本,利用服务器未正确过滤用户输入的特性,使受害者在浏览器中执行非预期代码,从而窃取会话令牌或篡改页面内容。开发者应避免此类风险,需严格对用户输入进行白名单验证,并在输出到 HTML 时实施上下文相关的编码与转义,确保危险字符被正确中和。
$username = $_GET['username']; echo '<div class="header"> Welcome, ' . $username . '</div>';http://trustedSite.example.com/welcome.php?username=<Script Language="Javascript">alert("You've been attacked!");</Script><% String eid = request.getParameter("eid"); %> ... Employee ID: <%= eid %><% protected System.Web.UI.WebControls.TextBox Login; protected System.Web.UI.WebControls.Label EmployeeID; ... EmployeeID.Text = Login.Text; %> <p><asp:label id="EmployeeID" runat="server" /></p>| CVE ID | 标题 | CVSS | 风险等级 | Published |
|---|---|---|---|---|
| CVE-2024-8521 | Wavelog 跨站脚本漏洞 — Wavelog | 4.3 | Medium | 2024-09-07 |
| CVE-2024-38640 | QNAP Download Station 跨站脚本漏洞 — Download Station | 5.4 | - | 2024-09-06 |
| CVE-2024-32762 | QNAP QuLog Center 跨站脚本漏洞 — QuLog Center | 8.2 | High | 2024-09-06 |
| CVE-2024-27125 | QNAP Helpdesk 跨站脚本漏洞 — Helpdesk | 3.5 | Low | 2024-09-06 |
| CVE-2024-27126 | QNAP Notes Station 安全漏洞 — Notes Station 3 | 6.3 | Medium | 2024-09-06 |
| CVE-2024-27122 | QNAP Notes Station 跨站脚本漏洞 — Notes Station 3 | 6.3 | Medium | 2024-09-06 |
| CVE-2024-21897 | QNAP QTS 和QuTS hero 跨站脚本漏洞 — QTS | 8.9 | High | 2024-09-06 |
| CVE-2023-50366 | QNAP Systems QTS和QNAP Systems QuTS hero 跨站脚本漏洞 — QTS | 4.3 | Medium | 2024-09-06 |
| CVE-2024-7611 | WordPress plugin Enter Addons 跨站脚本漏洞 — Enter Addons – Ultimate Template Builder for Elementor | 6.4 | Medium | 2024-09-06 |
| CVE-2024-7599 | WordPress plugin Advanced Sermons 跨站脚本漏洞 — Advanced Sermons | 6.4 | Medium | 2024-09-06 |
| CVE-2024-8317 | WordPress plugin WP AdCenter 跨站脚本漏洞 — WP AdCenter – Ad Manager & Adsense Ads | 6.4 | Medium | 2024-09-06 |
| CVE-2024-45400 | CKEditor 跨站脚本漏洞 — ckeditor-plugin-openlink | 6.1 | Medium | 2024-09-05 |
| CVE-2024-8473 | PHPGurukul Job Portal 跨站脚本漏洞 — Job Portal | 6.3 | Medium | 2024-09-05 |
| CVE-2024-8472 | PHPGurukul Job Portal 跨站脚本漏洞 — Job Portal | 6.3 | Medium | 2024-09-05 |
| CVE-2024-8471 | PHPGurukul Job Portal 跨站脚本漏洞 — Job Portal | 6.3 | Medium | 2024-09-05 |
| CVE-2022-3556 | WordPress plugin Cab fare calculator 跨站脚本漏洞 — Cab fare calculator | 4.4 | Medium | 2024-09-05 |
| CVE-2024-6894 | WordPress plugin RD Station 跨站脚本漏洞 — RD Station | 6.4 | Medium | 2024-09-05 |
| CVE-2024-6929 | WordPress plugin Dynamic Featured Image 跨站脚本漏洞 — Dynamic Featured Image | 6.4 | Medium | 2024-09-05 |
| CVE-2024-8363 | WordPress plugin Share This Image 跨站脚本漏洞 — Share This Image | 6.4 | Medium | 2024-09-05 |
| CVE-2024-2166 | Forcepoint Email Security 安全漏洞 — Email Security | 8.8 | High | 2024-09-04 |
| CVE-2024-45399 | Indico 安全漏洞 — indico | 4.3 | Medium | 2024-09-04 |
| CVE-2024-8411 | ABCD2 跨站脚本漏洞 — ABCD2 | 3.5 | Low | 2024-09-04 |
| CVE-2024-7077 | Semtek Sempos 跨站脚本漏洞 — Semtek Sempos | 6.1AI | MediumAI | 2024-09-04 |
| CVE-2024-8407 | akademy 跨站脚本漏洞 — akademy | 3.5 | Low | 2024-09-04 |
| CVE-2024-8413 | Raspcontrol 跨站脚本漏洞 — RaspControl | 5.4 | Medium | 2024-09-04 |
| CVE-2024-8318 | WordPress plugin Attributes for Blocks 跨站脚本漏洞 — Attributes for Blocks | 6.4 | Medium | 2024-09-04 |
| CVE-2024-8119 | WordPress plugin WP Extended 跨站脚本漏洞 — The Ultimate WordPress Toolkit – WP Extended | 6.1 | Medium | 2024-09-04 |
| CVE-2024-8117 | WordPress plugin WP Extended 跨站脚本漏洞 — The Ultimate WordPress Toolkit – WP Extended | 6.1 | Medium | 2024-09-04 |
| CVE-2024-8325 | WordPress plugin Blockspare 跨站脚本漏洞 — BlockSpare — News, Magazine and Blog Addons for (Gutenberg) Block Editor | 6.4 | Medium | 2024-09-04 |
| CVE-2024-45389 | Pagefind 安全漏洞 — pagefind | 6.4 | Medium | 2024-09-03 |
CWE-79(在Web页面生成时对输入的转义处理不恰当(跨站脚本)) 是常见的弱点类别,本平台收录该类弱点关联的 21807 条 CVE 漏洞。