CWE-79 在Web页面生成时对输入的转义处理不恰当(跨站脚本) 类弱点 21813 条 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-0664 | WordPress plugin Meks Smart Social Widget 安全漏洞 — Meks Smart Social Widget | 4.4 | Medium | 2024-01-27 |
| CVE-2024-0948 | NetBox 跨站脚本漏洞 — NetBox | 2.4 | Low | 2024-01-26 |
| CVE-2024-20305 | Cisco Unity Connection 安全漏洞 — Cisco Unity Connection | 4.8 | Medium | 2024-01-26 |
| CVE-2024-23896 | Cups Easy 跨站脚本漏洞 — Cups Easy (Purchase & Inventory) | 8.2 | High | 2024-01-26 |
| CVE-2024-23894 | Cups Easy 跨站脚本漏洞 — Cups Easy (Purchase & Inventory) | 8.2 | High | 2024-01-26 |
| CVE-2024-23893 | Cups Easy 跨站脚本漏洞 — Cups Easy (Purchase & Inventory) | 8.2 | High | 2024-01-26 |
| CVE-2024-23892 | Cups Easy 跨站脚本漏洞 — Cups Easy (Purchase & Inventory) | 8.2 | High | 2024-01-26 |
| CVE-2024-23891 | Cups Easy 跨站脚本漏洞 — Cups Easy (Purchase & Inventory) | 8.2 | High | 2024-01-26 |
| CVE-2024-23890 | Cups Easy 跨站脚本漏洞 — Cups Easy (Purchase & Inventory) | 8.2 | High | 2024-01-26 |
| CVE-2024-23889 | Cups Easy 跨站脚本漏洞 — Cups Easy (Purchase & Inventory) | 8.2 | High | 2024-01-26 |
| CVE-2024-23888 | Cups Easy 跨站脚本漏洞 — Cups Easy (Purchase & Inventory) | 8.2 | High | 2024-01-26 |
| CVE-2024-23887 | Cups Easy 跨站脚本漏洞 — Cups Easy (Purchase & Inventory) | 8.2 | High | 2024-01-26 |
| CVE-2024-23886 | Cups Easy 跨站脚本漏洞 — Cups Easy (Purchase & Inventory) | 8.2 | High | 2024-01-26 |
| CVE-2024-23885 | Cups Easy 跨站脚本漏洞 — Cups Easy (Purchase & Inventory) | 8.2 | High | 2024-01-26 |
| CVE-2024-23884 | Cups Easy 跨站脚本漏洞 — Cups Easy (Purchase & Inventory) | 8.2 | High | 2024-01-26 |
| CVE-2024-23883 | Cups Easy 跨站脚本漏洞 — Cups Easy (Purchase & Inventory) | 8.2 | High | 2024-01-26 |
| CVE-2024-23882 | Cups Easy 跨站脚本漏洞 — Cups Easy (Purchase & Inventory) | 8.2 | High | 2024-01-26 |
| CVE-2024-23881 | Cups Easy 跨站脚本漏洞 — Cups Easy (Purchase & Inventory) | 8.2 | High | 2024-01-26 |
| CVE-2024-23880 | Cups Easy 跨站脚本漏洞 — Cups Easy (Purchase & Inventory) | 8.2 | High | 2024-01-26 |
| CVE-2024-23879 | Cups Easy 跨站脚本漏洞 — Cups Easy (Purchase & Inventory) | 8.2 | High | 2024-01-26 |
| CVE-2024-23878 | Cups Easy 跨站脚本漏洞 — Cups Easy (Purchase & Inventory) | 8.2 | High | 2024-01-26 |
| CVE-2024-23877 | Cups Easy 跨站脚本漏洞 — Cups Easy (Purchase & Inventory) | 8.2 | High | 2024-01-26 |
| CVE-2024-23876 | Cups Easy 跨站脚本漏洞 — Cups Easy (Purchase & Inventory) | 8.2 | High | 2024-01-26 |
| CVE-2024-23875 | Cups Easy 跨站脚本漏洞 — Cups Easy (Purchase & Inventory) | 8.2 | High | 2024-01-26 |
| CVE-2024-23874 | Cups Easy 跨站脚本漏洞 — Cups Easy (Purchase & Inventory) | 8.2 | High | 2024-01-26 |
| CVE-2024-23873 | Cups Easy 跨站脚本漏洞 — Cups Easy (Purchase & Inventory) | 8.2 | High | 2024-01-26 |
| CVE-2024-23872 | Cups Easy 跨站脚本漏洞 — Cups Easy (Purchase & Inventory) | 8.2 | High | 2024-01-26 |
| CVE-2024-23871 | Cups Easy 跨站脚本漏洞 — Cups Easy (Purchase & Inventory) | 8.2 | High | 2024-01-26 |
| CVE-2024-23870 | Cups Easy 跨站脚本漏洞 — Cups Easy (Purchase & Inventory) | 8.2 | High | 2024-01-26 |
| CVE-2024-23869 | Cups Easy 跨站脚本漏洞 — Cups Easy (Purchase & Inventory) | 8.2 | High | 2024-01-26 |
CWE-79(在Web页面生成时对输入的转义处理不恰当(跨站脚本)) 是常见的弱点类别,本平台收录该类弱点关联的 21813 条 CVE 漏洞。