CWE-79 在Web页面生成时对输入的转义处理不恰当(跨站脚本) 类弱点 24367 条 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-24287 | WordPress plugin 跨站脚本漏洞 — Select All Categories and Taxonomies, Change Checkbox to Radio Buttons | 6.1 | - | 2021-05-14 |
| CVE-2021-24291 | WordPress plugin 跨站脚本漏洞 — Photo Gallery by 10Web – Mobile-Friendly Image Gallery | 6.1 | - | 2021-05-14 |
| CVE-2021-24283 | WPScan WordPress security plugin 跨站脚本漏洞 — Accordion | 6.1 | - | 2021-05-14 |
| CVE-2021-24277 | WordPress plugin 跨站脚本漏洞 — RSS for Yandex Turbo | 5.4 | - | 2021-05-14 |
| CVE-2021-20994 | WAGO 跨站脚本漏洞 — 0852-0303 | 8.8 | High | 2021-05-13 |
| CVE-2021-32544 | 艾及第资讯有限公司云端社群播客系统跨站脚本漏洞 — igt+ | 5.4 | Medium | 2021-05-11 |
| CVE-2021-30174 | 瑞研科技 CloudISO 跨站脚本漏洞 — CloudISO | 5.4 | Medium | 2021-05-11 |
| CVE-2021-30172 | 竣禾科技全方位通讯系统跨站脚本漏洞 — Quan-Fang-Wei-Tong-Xun system | 4.6 | Medium | 2021-05-07 |
| CVE-2021-30171 | 竣禾科技 ERP POS 跨站脚本漏洞 — ERP POS | 4.6 | Medium | 2021-05-07 |
| CVE-2021-30170 | 竣禾科技 ERP POS 跨站脚本漏洞 — ERP POS | 4.6 | Medium | 2021-05-07 |
| CVE-2021-1507 | Cisco SD-WAN vManage 跨站脚本漏洞 — Cisco SD-WAN vManage | 6.4 | Medium | 2021-05-06 |
| CVE-2021-1490 | Cisco Web Security Appliance 跨站脚本漏洞 — Cisco Web Security Appliance (WSA) | 4.7 | Medium | 2021-05-06 |
| CVE-2021-24246 | WordPress 跨站脚本漏洞 — Workscout Core | 5.4 | - | 2021-05-05 |
| CVE-2021-24247 | WordPress 跨站脚本漏洞 — Contact Form Check Tester | 5.4 | - | 2021-05-05 |
| CVE-2021-24250 | WordPress 跨站脚本漏洞 — Business Directory Plugin – Easy Listing Directories for WordPress | 5.4 | - | 2021-05-05 |
| CVE-2021-24214 | WordPress 跨站脚本漏洞 — OpenID Connect Generic Client | 6.1 | - | 2021-05-05 |
| CVE-2021-24243 | WordPress 跨站脚本漏洞 — WPBakery Page Builder (Visual Composer) Clipboard | 5.4 | - | 2021-05-05 |
| CVE-2021-24245 | WordPress 跨站脚本漏洞 — Stop Spammers | 6.1 | - | 2021-05-05 |
| CVE-2021-24274 | WordPress Maps by Supsystic 跨站脚本漏洞 — Ultimate Maps by Supsystic | 6.1 | - | 2021-05-05 |
| CVE-2021-24275 | Supsystic WordPress plugin 跨站脚本漏洞 — Popup by Supsystic | 6.1 | - | 2021-05-05 |
| CVE-2021-24276 | Supsystic WordPress plugin 跨站脚本漏洞 — Contact Form by Supsystic | 6.1 | - | 2021-05-05 |
| CVE-2021-24293 | WordPress NextGEN Gallery 跨站脚本漏洞 — NextGen Gallery Pro | 6.1 | - | 2021-05-05 |
| CVE-2021-24265 | WordPress Rife Elementor Extensions & Templates 跨站脚本漏洞 — Rife Elementor Extensions & Templates | 5.4 | - | 2021-05-05 |
| CVE-2021-24266 | WordPress Plus Addonsfor Elementor 跨站脚本漏洞 — The Plus Addons for Elementor Page Builder Lite | 5.4 | - | 2021-05-05 |
| CVE-2021-24267 | WordPress All-in-One Addons for Elementor 跨站脚本漏洞 — All-in-One Addons for Elementor – WidgetKit | 5.4 | - | 2021-05-05 |
| CVE-2021-24268 | WordPress Widgets For Elementor 跨站脚本漏洞 — JetWidgets For Elementor | 5.4 | - | 2021-05-05 |
| CVE-2021-24269 | WordPress Sina Extension for Elementor 跨站脚本漏洞 — Sina Extension for Elementor | 5.4 | - | 2021-05-05 |
| CVE-2021-24270 | Elementor 跨站脚本漏洞 — DethemeKit For Elementor | 5.4 | - | 2021-05-05 |
| CVE-2021-24271 | Elementor 跨站脚本漏洞 — Ultimate Addons for Elementor | 5.4 | - | 2021-05-05 |
| CVE-2021-24273 | WordPress Clever Addons for Elementor 跨站脚本漏洞 — Clever Addons for Elementor | 5.4 | - | 2021-05-05 |
CWE-79(在Web页面生成时对输入的转义处理不恰当(跨站脚本)) 是常见的弱点类别,本平台收录该类弱点关联的 24367 条 CVE 漏洞。