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-50344 I, Librarian has a Stored XSS vulnerability in Supplemental Files — i-librarian-free 4.6 Medium2024-10-30
CVE-2024-9438 SEUR Oficial <= 2.2.11 - Reflected Cross-Site Scripting — SEUR Oficial 6.1 Medium2024-10-29
CVE-2024-20382 Cisco Firepower Threat Defense和Cisco Adaptive Security Appliance 安全漏洞 — Cisco Adaptive Security Appliance (ASA) Software 6.1 Medium2024-10-23
CVE-2024-20341 Cisco Adaptive Security Appliance WebVPN Cross-Site Scripting Vulnerability — Cisco Adaptive Security Appliance (ASA) Software 6.1 Medium2024-10-23
CVE-2024-20460 Cisco ATA 190 Series Analog Telephone Adapter Firmware Reflected Cross-Site Scripting Vulnerability — Cisco Analog Telephone Adaptor (ATA) Software 6.1 Medium2024-10-16
CVE-2024-47139 F5 BIG-IQ Vulnerability — BIG-IQ 6.8 Medium2024-10-16
CVE-2023-32193 Norman API Cross-site Scripting Vulnerability — norman 8.3 High2024-10-16
CVE-2023-32192 Rancher API Server Cross-site Scripting Vulnerability — apiserver 8.3 High2024-10-16
CVE-2024-38039 BUG-000161683 - HTML injection vulnerability in Portal for ArcGIS. — Portal for ArcGIS 5.4 Medium2024-10-04
CVE-2024-8981 Broken Link Checker <= 2.4.0 - Reflected Cross-Site Scripting — Broken Link Checker 7.1 High2024-10-01
CVE-2024-47536 starcitizentools/citizen-skin vulnerable to stored, self-XSS in the "real name" field — mediawiki-skins-Citizen 5.4 -2024-09-30
CVE-2024-8872 Store Hours for WooCommerce <= 4.3.20 - Reflected Cross-Site Scripting — Store Hours for WooCommerce 6.1 Medium2024-09-26
CVE-2024-8680 MailChimp for Wordpress <= 4.9.16 - Authenticated (Administrator+) Stored Cross-Site Scripting — MC4WP: Mailchimp for WordPress 4.4 Medium2024-09-21
CVE-2021-27915 XSS Cross-site Scripting Stored (XSS) - Description field — Mautic 7.6 High2024-09-17
CVE-2024-2010 Reflected XSS in TE Informatics' V5 Software — V5 6.1AIMediumAI2024-09-12
CVE-2024-45406 Craft CMS stored XSS in breadcrumb list and title fields — cms 5.5 Medium2024-09-09
CVE-2024-38859 XSS in view page with SLA column — Checkmk 5.4AIMediumAI2024-08-26
CVE-2024-8145 ClassCMS Article admin cross site scripting — ClassCMS 2.4 Low2024-08-25
CVE-2024-7629 Responsive Video <= 1.0 - Authenticated (Contributor+) Stored Cross-Site Scripting — Responsive Video 6.4 Medium2024-08-21
CVE-2024-41697 Priority – CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) — Priority 6.1 Medium2024-08-20
CVE-2024-41947 XWiki Platform XSS through conflict resolution — xwiki-platform 9.1 Critical2024-07-31
CVE-2024-41693 Mashov - CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) — Mashov 6.1 Medium2024-07-30
CVE-2024-32484 Ankitects Anki 安全漏洞 — Anki 7.4 High2024-07-22
CVE-2023-35006 IBM Security ReaQta HTML injection — Security QRadar EDR 5.4 Medium2024-07-10
CVE-2024-25639 Prompt Injection triggered XSS vulnerability in Khoj Obsidian, Desktop and Web clients — khoj 5.9 Medium2024-07-08
CVE-2024-6052 XSS in SQL check parameters — Checkmk 6.5 Medium2024-07-03
CVE-2024-28832 XSS in Crash Report Page — Checkmk 4.8 Medium2024-06-25
CVE-2024-28831 XSS in confirmation pop-up — Checkmk 5.4 Medium2024-06-25
CVE-2024-6251 playSMS New Phonebook cross site scripting — playSMS 2.4 Low2024-06-22
CVE-2022-38055 WordPress wpForo Forum plugin <= 2.0.9 - Auth. HTML Injection vulnerability — wpForo Forum 4.3 Medium2024-06-21

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