Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CWE-80 (Web页面中脚本相关HTML标签转义处理不恰当(基本跨站脚本)) — Vulnerability Class 403

403 vulnerabilities classified as CWE-80 (Web页面中脚本相关HTML标签转义处理不恰当(基本跨站脚本)). AI Chinese analysis included.

CWE-80 represents a critical input validation weakness where applications fail to properly sanitize user-supplied data before rendering it in web pages. This flaw allows attackers to inject malicious scripts, typically JavaScript, into the HTML content viewed by other users. Exploitation usually occurs when an attacker crafts a malicious URL or form input containing script tags, which the vulnerable application then executes in the victim’s browser without proper filtering. This can lead to severe consequences such as session hijacking, credential theft, or defacement. To mitigate this risk, developers must implement robust output encoding strategies, ensuring that all special characters like angle brackets and ampersands are converted into their safe HTML entity equivalents. Additionally, employing Content Security Policy headers and utilizing modern frameworks with built-in escaping mechanisms further reduces the attack surface by preventing the execution of unauthorized scripts.

MITRE CWE Description
The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as "<", ">", and "&" that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages.
Common Consequences (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.
Mitigations (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
Examples (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 IDTitleCVSSSeverityPublished
CVE-2024-24571 facileManager Systemic Cross-Site Scripting (XSS) — facileManager 5.4 Medium2024-01-31
CVE-2024-23841 XSS in @apollo/experimental-nextjs-app-support — apollo-client-nextjs 8.2 High2024-01-30
CVE-2023-5933 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in GitLab — GitLab 6.4 Medium2024-01-26
CVE-2023-20257 Cisco Evolved Programmable Network Manager 和 Cisco Prime Infrastructure 安全漏洞 — Cisco Prime Infrastructure 4.8 Medium2024-01-17
CVE-2024-0183 RRJ Nueva Ecija Engineer Online Portal NIA Office students.php cross site scripting — Nueva Ecija Engineer Online Portal 2.4 Low2024-01-01
CVE-2023-46722 Pimcore Admin Classic Bundle Cross-site Scripting (XSS) in PDF previews — admin-ui-classic-bundle 6.1 Medium2023-10-31
CVE-2023-5582 ZZZCMS Personal Profile Page cross site scripting — ZZZCMS 3.5 Low2023-10-14
CVE-2023-34354 Peplink Surf SOHO HW1 跨站脚本漏洞 — Surf SOHO HW1 3.4 Low2023-10-11
CVE-2023-36555 Fortinet FortiOS 跨站脚本漏洞 — FortiOS 3.9 Low2023-10-10
CVE-2023-3971 Controller: html injection in custom login info — Red Hat Ansible Automation Platform 2.3 for RHEL 8 7.3 High2023-10-04
CVE-2023-20179 Cisco Catalyst SD-WAN Manager 跨站脚本漏洞 — Cisco SD-WAN vManage 4.3 Medium2023-09-27
CVE-2023-42458 Zope vulnerable to Stored Cross Site Scripting with SVG images — Zope 3.7 Low2023-09-21
CVE-2023-41048 plone.namedfile vulnerable to Stored Cross Site Scripting with SVG images — plone.namedfile 3.7 Low2023-09-21
CVE-2023-4663 XSS in Saphira Connect — Saphira Connect 6.1 Medium2023-09-15
CVE-2023-3481 XSS in Chrome Lab Critters — Critters 5.7 Medium2023-08-21
CVE-2023-20222 Cisco Evolved Programmable Network Manager 跨站脚本漏洞 — Cisco Prime Infrastructure 4.8 Medium2023-08-16
CVE-2023-20228 Cisco Integrated Management Controller 跨站脚本漏洞 — Cisco Identity Services Engine Software 6.1 Medium2023-08-16
CVE-2023-39217 Zoom Client 安全漏洞 — Zoom SDK's 5.3 Medium2023-08-08
CVE-2023-39216 Zoom Client 安全漏洞 — Zoom Desktop Client for Windows 9.6 Critical2023-08-08
CVE-2023-20181 Cisco Small Business SPA500 Series IP Phones 跨站脚本漏洞 — Cisco Small Business IP Phones 6.1 Medium2023-08-03
CVE-2023-20218 Cisco Small Business SPA500 Series IP Phones 跨站脚本漏洞 — Cisco Small Business IP Phones 5.8 Medium2023-08-03
CVE-2023-23548 XSS in business intelligence — Checkmk 5.4 Medium2023-08-01
CVE-2023-24497 Milesight VPN 安全漏洞 — MilesightVPN 4.7 Medium2023-07-06
CVE-2023-24496 Milesight VPN 安全漏洞 — MilesightVPN 4.7 Medium2023-07-06
CVE-2023-35157 XWiki Platform vulnerable to reflected cross-site scripting via delattachment action — xwiki-platform 8.5 High2023-06-23
CVE-2023-3017 SourceCodester Lost and Found Information System Manage User Page cross site scripting — Lost and Found Information System 2.4 Low2023-05-31
CVE-2023-2981 Abstrium Pydio Cells Chat cross site scripting — Pydio Cells 3.5 Low2023-05-30
CVE-2023-33194 CraftCMS stored XSS in Quick Post widget error message — cms 3.7 Low2023-05-26
CVE-2023-33196 Craft CMS stored XSS in review volume — cms 5.5 Medium2023-05-26
CVE-2023-33197 Craft CMS stored XSS in indexedVolumes — cms 5.5 Medium2023-05-26

Vulnerabilities classified as CWE-80 (Web页面中脚本相关HTML标签转义处理不恰当(基本跨站脚本)) represent 403 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.