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-2021-32735 Cross-site scripting (XSS) from field and configuration text displayed in the Panel — kirby 7.1 High2021-07-02
CVE-2021-28803 Stored XSS Vulnerability in Q'center — Q'center 8.5 -2021-07-01
CVE-2020-36196 Stored XSS Vulnerability in QuLog Center — QuLog Center 5.4 -2021-07-01
CVE-2021-32719 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in RabbitMQ federation management plugin — rabbitmq-server 3.1 Low2021-06-28
CVE-2021-32718 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in RabbitMQ management UI — rabbitmq-server 3.1 Low2021-06-28
CVE-2021-29503 Improper Neutralization of Script-Related HTML Tags in Notes — hedgedoc 8.1 High2021-05-19
CVE-2019-25028 Stored cross-site scripting in Grid component in Vaadin 7 and 8 — Vaadin 5.4 Medium2021-04-23
CVE-2021-29467 Self-XSS — wrongthink 6.1 Medium2021-04-22
CVE-2021-1420 Cisco Webex Meetings HTML Injection Vulnerability — Cisco Webex Meetings 4.7 Medium2021-04-08
CVE-2019-18944 Micro Focus Solutions Business Manager 跨站脚本漏洞 — Solutions Business Manager 4.9 Medium2021-02-26
CVE-2021-1351 Cisco Webex Meetings Cross-Site Scripting Vulnerability — Cisco Webex Meetings 6.1 Medium2021-02-17
CVE-2020-13564 Sourceforge PhpGACL 跨站脚本漏洞 — phpGACL 6.1 -2021-02-01
CVE-2020-13563 Sourceforge PhpGACL 跨站脚本漏洞 — phpGACL 6.1 -2021-02-01
CVE-2020-13562 Sourceforge PhpGACL 跨站脚本漏洞 — phpGACL 6.1 -2021-02-01
CVE-2019-19285 Siemens XHQ 跨站脚本漏洞 — XHQ 5.4 -2020-12-14
CVE-2020-27126 Cisco Webex Meetings API Cross-Site Scripting Vulnerability — Cisco Webex Meetings 6.1 Medium2020-11-18
CVE-2020-26218 HTML Injection in touchbase.ai — touchbase.ai 8.0 High2020-11-11
CVE-2020-15788 Siemens Polarion Subversion Webclient 跨站脚本漏洞 — Polarion Subversion Webclient 6.1 -2020-09-09
CVE-2020-10043 Siemens SICAM MMU、SGU和T 跨站脚本漏洞 — SICAM MMU 6.1 -2020-07-14
CVE-2020-4047 Authenticated XSS via media attachment page in WordPress — wordpress-develop 6.8 Medium2020-06-12
CVE-2020-4049 Authenticated self-XSS via theme uploads in WordPress — wordpress-develop 2.4 Low2020-06-12
CVE-2020-4046 Authenticated XSS through embed block in WordPress — wordpress-develop 5.4 Medium2020-06-12
CVE-2020-11001 Possible XSS attack in Wagtail — wagtail 5.8 Medium2020-04-14
CVE-2020-7575 Siemens Climatix POL908和POL909 跨站脚本漏洞 — Climatix POL908 (BACnet/IP module) 6.1 -2020-04-14
CVE-2020-5283 XSS vulnerability in CVS show_subdir_lastmod support — viewvc 3.1 Low2020-04-03
CVE-2020-8966 Cross Site Scripting (XSS) flaws found in Tiki-Wiki CMS software — Tiki-Wiki CMS 6.5 Medium2020-04-01
CVE-2020-5267 Possible XSS vulnerability in ActionView — actionview 4.0 Medium2020-03-19
CVE-2019-6585 Siemens SCALANCE S-600 跨站脚本漏洞 — SCALANCE S602 6.1 -2020-03-10
CVE-2020-7579 Siemens Spectrum Power 跨站脚本漏洞 — Spectrum Power™ 5 6.1 -2020-03-10
CVE-2020-5241 XSS/Script injection vulnerability in matestack — matestack-ui-core 7.7 High2020-02-12

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