CWE-79 在Web页面生成时对输入的转义处理不恰当(跨站脚本) 类弱点 24368 条 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-2021-32539 | Hundred Plus 101EIP 跨站脚本漏洞 — 101EIP | 5.4 | Medium | 2021-05-28 |
| CVE-2021-32540 | Hundred Plus 101EIP system 跨站脚本漏洞 — 101EIP | 5.4 | Medium | 2021-05-28 |
| CVE-2020-10688 | Red Hat Resteasy 跨站脚本漏洞 — RESTEasy | 6.1 | - | 2021-05-27 |
| CVE-2020-27832 | Red Hat Quay 跨站脚本漏洞 — quay | 8.9 | - | 2021-05-27 |
| CVE-2021-3509 | Red Hat Ceph跨站脚本漏洞 — ceph-dashboard | 6.1 | - | 2021-05-26 |
| CVE-2021-3486 | GLPI 跨站脚本漏洞 — glpi | 6.1 | - | 2021-05-26 |
| CVE-2021-24306 | WordPress 跨站脚本漏洞 — Ultimate Member – User Profile, User Registration, Login & Membership Plugin | 5.4 | - | 2021-05-24 |
| CVE-2021-24308 | WordPress 跨站脚本漏洞 — LMS by LifterLMS – Online Course, Membership & Learning Management System Plugin for WordPress | 5.4 | - | 2021-05-24 |
| CVE-2021-24332 | WordPress 跨站脚本漏洞 — Autoptimize | 4.8 | - | 2021-05-24 |
| CVE-2021-24296 | WordPress 跨站脚本漏洞 — WP Customer Reviews | 4.8 | - | 2021-05-24 |
| CVE-2021-24297 | WordPress 跨站脚本漏洞 — Goto | 6.1 | - | 2021-05-24 |
| CVE-2021-24298 | giveasap 跨站脚本漏洞 — Simple Giveaways – Grow your business, email lists and traffic with contests | 6.1 | - | 2021-05-24 |
| CVE-2021-24300 | WordPress 跨站脚本漏洞 — PickPlugins Product Slider for WooCommerce | 6.1 | - | 2021-05-24 |
| CVE-2021-24301 | WordPress 跨站脚本漏洞 — Hotjar Connecticator | 4.8 | - | 2021-05-24 |
| CVE-2021-24302 | WordPress 跨站脚本漏洞 — Hana Flv Player | 5.4 | - | 2021-05-24 |
| CVE-2021-24305 | WordPress 跨站脚本漏洞 — Target First Plugin | 6.1 | - | 2021-05-24 |
| CVE-2021-24294 | WordPress 跨站脚本漏洞 — DSGVO All in one for WP | 9.6 | - | 2021-05-24 |
| CVE-2021-1254 | Cisco Finesse 跨站脚本漏洞 — Cisco Unified Contact Center Express | 4.8 | Medium | 2021-05-22 |
| CVE-2021-3536 | Red Hat Wildfly 跨站脚本漏洞 — wildfly | 4.8 | - | 2021-05-20 |
| CVE-2021-27465 | Emerson Rosemount X-STREAM Gas Analyzer 跨站脚本漏洞 — Emerson Rosemount X-STREAM Gas Analyzer | 6.1 | - | 2021-05-20 |
| CVE-2021-29625 | SOURCEFORGE Adminer 跨站脚本漏洞 — adminer | 7.5 | High | 2021-05-19 |
| CVE-2021-24325 | WordPress plugin 跨站脚本漏洞 — 404 SEO Redirection | 6.1 | - | 2021-05-17 |
| CVE-2021-24326 | WordPress plugin 跨站脚本漏洞 — All 404 Redirect to Homepage | 5.4 | - | 2021-05-17 |
| CVE-2021-24327 | WordPress plugin 跨站脚本漏洞 — SEO Redirection Plugin – 301 Redirect Manager | 4.8 | - | 2021-05-17 |
| CVE-2021-24290 | WordPress plugin 跨站脚本漏洞 — Store Locator Plus for WordPress | 6.1 | - | 2021-05-17 |
| CVE-2021-24292 | WordPress plugin 跨站脚本漏洞 — Happy Addons for Elementor | 5.4 | - | 2021-05-17 |
| CVE-2021-24299 | WordPress plugin 跨站脚本漏洞 — ReDi Restaurant Reservation | 6.1 | - | 2021-05-17 |
| CVE-2021-24315 | WordPress Plugin 跨站脚本漏洞 — GiveWP – Donation Plugin and Fundraising Platform | 4.8 | - | 2021-05-17 |
| CVE-2021-24323 | WordPress plugin 跨站脚本漏洞 — WooCommerce | 4.8 | - | 2021-05-17 |
| CVE-2021-32818 | haml 跨站脚本漏洞 — haml-coffee | 7.7 | High | 2021-05-14 |
CWE-79(在Web页面生成时对输入的转义处理不恰当(跨站脚本)) 是常见的弱点类别,本平台收录该类弱点关联的 24368 条 CVE 漏洞。