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

目标: 1000 元 · 已筹: 1336

100%

CWE-80 Web页面中脚本相关HTML标签转义处理不恰当(基本跨站脚本) 类漏洞列表 443

CWE-80 Web页面中脚本相关HTML标签转义处理不恰当(基本跨站脚本) 类弱点 443 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-80即基础型跨站脚本攻击,属于输入验证缺陷。攻击者通过注入包含恶意脚本的HTML标签,利用程序未正确转义特殊字符的漏洞,使浏览器执行非预期代码,从而窃取数据或劫持会话。开发者应严格对用户输入进行白名单过滤,并对输出至HTML页面的数据进行实体编码,确保特殊字符被正确转义,从而阻断脚本执行。

MITRE CWE 官方描述
CWE:CWE-80 Web 页面中脚本相关 HTML 标签的不当中和(基本型 XSS) 英文:产品从上游组件接收输入,但未对特殊字符(如 "<"、">" 和 "&")进行中和或进行了不正确的中和,这些字符在发送给处理 Web 页面的下游组件时,可能被解释为 Web 脚本元素。
常见影响 (1)
Confidentiality, Integrity, AvailabilityRead Application Data, Execute Unauthorized Code or Commands
An attacker could insert special characters that are processed client-side in the context of the user's session.
缓解措施 (4)
ImplementationCarefully check each input parameter against a rigorous positive specification (allowlist) defining the specific characters and format allowed. All input should be neutralized, not just parameters that the user is supposed to specify, but all data in the request, including hidden fields, cookies, headers, the URL itself, and so forth. A common mistake that leads to continuing XSS vulnerabilities i…
ImplementationUse and specify an output encoding that can be handled by the downstream component that is reading the output. Common encodings include ISO-8859-1, UTF-7, and UTF-8. When an encoding is not specified, a downstream component may choose a different encoding, either by assuming a default encoding or automatically inferring which encoding is being used, which can be erroneous. When the encodings are i…
ImplementationWith Struts, write all data from form beans with the bean's filter attribute set to true.
ImplementationTo help mitigate XSS attacks against the user's session cookie, set the session cookie to be HttpOnly. In browsers that support the HttpOnly feature (such as more recent versions of Internet Explorer and Firefox), this attribute can prevent the user's session cookie from being accessible to malicious client-side scripts that use document.cookie. This is not a complete solution, since HttpOnly is n…
Effectiveness: Defense in Depth
代码示例 (1)
In the following example, a guestbook comment isn't properly encoded, filtered, or otherwise neutralized for script-related tags before being displayed in a client browser.
<% for (Iterator i = guestbook.iterator(); i.hasNext(); ) { Entry e = (Entry) i.next(); %> <p>Entry #<%= e.getId() %></p> <p><%= e.getText() %></p> <% } %>
Bad · JSP
CVE ID标题CVSS风险等级Published
CVE-2024-41947 XWiki Platform 安全漏洞 — xwiki-platform 9.1 Critical2024-07-31
CVE-2024-41693 Mashov 安全漏洞 — Mashov 6.1 Medium2024-07-30
CVE-2024-32484 Ankitects Anki 安全漏洞 — Anki 7.4 High2024-07-22
CVE-2023-35006 IBM Security QRadar 安全漏洞 — Security QRadar EDR 5.4 Medium2024-07-10
CVE-2024-25639 Khoj 安全漏洞 — khoj 5.9 Medium2024-07-08
CVE-2024-6052 Checkmk 安全漏洞 — Checkmk 6.5 Medium2024-07-03
CVE-2024-28832 Checkmk 安全漏洞 — Checkmk 4.8 Medium2024-06-25
CVE-2024-28831 Checkmk 安全漏洞 — Checkmk 5.4 Medium2024-06-25
CVE-2024-6251 playSMS 安全漏洞 — playSMS 2.4 Low2024-06-22
CVE-2022-38055 WordPress plugin wpForo Forum 安全漏洞 — wpForo Forum 4.3 Medium2024-06-21
CVE-2024-6183 EZ-Suite EZ-Partner 安全漏洞 — EZ-Partner 4.3 Medium2024-06-20
CVE-2024-6108 Genexis Tilgin Home Gateway 安全漏洞 — Tilgin Home Gateway 4.3 Medium2024-06-18
CVE-2024-5741 Checkmk 安全漏洞 — Checkmk 6.5 Medium2024-06-17
CVE-2024-36395 Verint Workforce Optimization 跨站脚本漏洞 — WFO 6.1 Medium2024-06-13
CVE-2024-5851 playSMS 安全漏洞 — playSMS 3.5 Low2024-06-11
CVE-2024-35680 WordPress plugin YITH WooCommerce Product Add-Ons 注入漏洞 — YITH WooCommerce Product Add-Ons 5.3 Medium2024-06-10
CVE-2024-37156 SuluFormBundle 安全漏洞 — SuluFormBundle 6.1 Medium2024-06-06
CVE-2024-32464 Rails 安全漏洞 — rails 6.1 Medium2024-06-04
CVE-2023-49852 WordPress plugin Responsive Slick Slider 安全漏洞 — Responsive Slick Slider WordPress 6.5 Medium2024-06-04
CVE-2023-48285 WordPress plugin Stripe Payments 安全漏洞 — Stripe Payments 5.3 Medium2024-06-04
CVE-2023-47513 WordPress plugin ARI Stream Quiz 安全漏洞 — ARI Stream Quiz 5.4 Medium2024-06-04
CVE-2023-46310 WordPress plugin wpDiscuz 安全漏洞 — wpDiscuz 5.3 Medium2024-06-04
CVE-2023-45635 WordPress plugin Responsive Tabs 安全漏洞 — Responsive Tabs 5.4 Medium2024-06-04
CVE-2023-45053 WordPress plugin WP Content Pilot 安全漏洞 — WP Content Pilot – Autoblogging & Affiliate Marketing Plugin 4.3 Medium2024-06-04
CVE-2023-40557 WordPress plugin Tabs & Accordion 安全漏洞 — Tabs & Accordion 5.4 Medium2024-06-04
CVE-2023-39161 WordPress plugin Discussion Board 安全漏洞 — Discussion Board 5.4 Medium2024-06-04
CVE-2023-23735 WordPress plugin Spectra 安全漏洞 — Spectra 5.3 Medium2024-06-03
CVE-2024-35224 OpenProject 安全漏洞 — openproject 7.6 High2024-05-23
CVE-2024-23522 WordPress plugin Formidable Forms 安全漏洞 — Formidable Forms 5.3 Medium2024-05-17
CVE-2024-4214 WordPress plugin Car Dealer 安全漏洞 — Car Dealer 2.7 Low2024-05-17

CWE-80(Web页面中脚本相关HTML标签转义处理不恰当(基本跨站脚本)) 是常见的弱点类别,本平台收录该类弱点关联的 443 条 CVE 漏洞。