What is CWE-79?
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
There are many variants of cross-site scripting, characterized by a variety of terms or involving different attack topologies. However, they all indicate the same fundamental weakness: improper neutralization of dangerous input between the adversary and a victim.
CWE-79 is a base-level weakness in MITRE’s Common Weakness Enumeration, with a MITRE likelihood of exploit of High. Applicable platforms: Language: Not Language-Specific; Technology: AI/ML; Technology: Web Based; Technology: Web Server.
Source: MITRE CWE (CWE-79 definition, reproduced verbatim). Counts and linkage below are Threadlinqs data.
Consequences
- Access Control, Confidentiality — Bypass Protection Mechanism, Read Application Data. The most common attack performed with cross-site scripting involves the disclosure of private information stored in user cookies, such as session information. Typically, a malicious user will craft a client-side script, which -- when parsed by a web browser -- performs some activity on behalf of the victim to an attacker-controlled system (such as sending all site cookies to a given E-mail address). This could be especially dangerous to the site if the victim has administrator privileges to…
- Integrity, Confidentiality, Availability — Execute Unauthorized Code or Commands. In some circumstances it may be possible to run arbitrary code on a victim's computer when cross-site scripting is combined with other flaws, for example, "drive-by hacking."
- Confidentiality, Integrity, Availability, Access Control — Execute Unauthorized Code or Commands, Bypass Protection Mechanism, Read Application Data. The consequence of an XSS attack is the same regardless of whether it is stored or reflected. The difference is in how the payload arrives at the server. XSS can cause a variety of problems for the end user that range in severity from an annoyance to complete account compromise. Some cross-site scripting vulnerabilities can be exploited to manipulate or steal cookies, create requests that can be mistaken for those of a valid user, compromise confidential information, or execute malicious code…
Source: MITRE CWE, common consequences.
How CWE-79 is exploited in the wild
Threadlinqs maps 253 CVEs to CWE-79, published between 2020-10-21 and 2026-11-17. 12 are listed in CISA’s Known Exploited Vulnerabilities catalog, the authoritative record of exploitation in the wild, and 1 is tied to ransomware campaigns. By CVSS v3 severity the set splits into 23 critical, 56 high, 109 medium, 21 low. The highest EPSS score in the set is 85.5% (CVE-2020-3580), the modelled probability of exploitation in the next 30 days. 144 tracked threats reference CWE-79 directly or through a CVE it covers; the most recent is “WordPress 7.1.5 Security Release: 20 Core Fixes Including Template Part Block Permission Flaw (Potential RCE) and SQL Injection in WP_Meta_Query / Customizer Previews” (2026-11-19). Affected products concentrate in Nozomi Networks (11), Microsoft (10), Roundcube (9), among 148 vendors in total.
Vulnerabilities (CVEs)
Showing 40 of 253 CVEs mapped to CWE-79, CISA KEV first, then by CVSS score.
- CVE-2024-42009 — CISA KEV · CVSS 9.3 critical · EPSS 83.3% · published 2024-08-05
- CVE-2026-42897 — CISA KEV · CVSS 8.1 high · EPSS 5.6% · published 2026-05-14
- CVE-2025-68461 — CISA KEV · CVSS 7.2 high · EPSS 26.8% · published 2025-12-18
- CVE-2025-66376 — CISA KEV · CVSS 7.2 high · EPSS 20.2% · published 2026-01-05
- CVE-2020-3580 — CISA KEV · CVSS 6.1 medium · EPSS 85.5% · published 2020-10-21
- CVE-2023-5631 — CISA KEV · CVSS 6.1 medium · EPSS 75.8% · published 2023-10-18
- CVE-2023-43770 — CISA KEV · CVSS 6.1 medium · EPSS 63.6% · published 2023-09-22
- CVE-2023-37580 — CISA KEV · CVSS 6.1 medium · EPSS 49.0% · published 2023-07-31
- CVE-2020-35730 — CISA KEV · CVSS 6.1 medium · EPSS 32.9% · published 2020-12-28
- CVE-2024-27443 — CISA KEV · CVSS 6.1 medium · EPSS 23.6% · published 2024-08-12
- CVE-2024-11182 — CISA KEV · CVSS 6.1 medium · EPSS 17.5% · published 2024-11-15
- CVE-2025-27915 — CISA KEV · CVSS 5.4 medium · EPSS 3.9% · published 2025-03-12
- CVE-2022-28368 — CVSS 9.8 critical · EPSS 82.4% · published 2022-04-03
- CVE-2025-10573 — CVSS 9.6 critical · EPSS 33.4% · published 2025-12-09
- CVE-2026-55008 — CVSS 9.6 critical · EPSS 0.8% · published 2026-07-14
- CVE-2026-70332 — CVSS 9.6 critical · EPSS 0.8% · published 2026-08-06
- CVE-2026-54458 — CVSS 9.6 critical · EPSS 0.3% · published 2026-07-15
- CVE-2026-56395 — CVSS 9.6 critical · published 2026-06-21
- CVE-2026-104350 — CVSS 9.3 critical · EPSS 0.6% · published 2026-10-27
- CVE-2026-55674 — CVSS 9.3 critical · EPSS 0.5% · published 2026-08-17
- CVE-2026-66421 — CVSS 9.3 critical · EPSS 0.3% · published 2026-07-30
- CVE-2026-76475 — CVSS 9.3 critical · EPSS 0.3% · published 2026-10-21
- CVE-2026-102147 — CVSS 9.3 critical · EPSS 0.2% · published 2026-09-30
- CVE-2026-12048 — CVSS 9.3 critical · EPSS 0.2% · published 2026-06-18
- CVE-2026-93642 — CVSS 9.3 critical · EPSS 0.2% · published 2026-09-25
- CVE-2026-93029 — CVSS 9 critical · EPSS 0.5% · published 2026-10-02
- CVE-2026-93697 — CVSS 9 critical · EPSS 0.5% · published 2026-10-02
- CVE-2026-73043 — CVSS 9 critical · EPSS 0.3% · published 2026-08-15
- CVE-2026-73042 — CVSS 9 critical · EPSS 0.3% · published 2026-08-15
- CVE-2026-73052 — CVSS 9 critical · EPSS 0.3% · published 2026-08-15
- CVE-2026-73053 — CVSS 9 critical · EPSS 0.2% · published 2026-08-15
- CVE-2026-73044 — CVSS 9 critical · EPSS 0.2% · published 2026-08-15
- CVE-2026-73050 — CVSS 9 critical · EPSS 0.2% · published 2026-08-15
- CVE-2026-73041 — CVSS 9 critical · EPSS 0.2% · published 2026-08-15
- CVE-2025-40899 — CVSS 8.9 high · EPSS 0.2% · published 2026-04-15
- CVE-2025-40892 — CVSS 8.9 high · EPSS 0.2% · published 2025-12-18
- CVE-2026-61719 — CVSS 8.9 high · EPSS 0.2% · published 2026-10-29
- CVE-2026-48307 — CVSS 8.8 high · EPSS 0.5% · published 2026-06-30
- CVE-2026-71386 — CVSS 8.8 high · EPSS 0.5% · published 2026-08-11
- CVE-2024-41725 — CVSS 8.8 high · EPSS 0.3% · published 2024-09-24
Affected vendors
- Nozomi Networks — 11 CVEs
- Microsoft — 10 CVEs
- Roundcube — 9 CVEs
- Apache Software Foundation — 7 CVEs
- siyuan-note — 7 CVEs
- Fortinet — 6 CVEs
- IBM — 6 CVEs
- SourceCodester — 6 CVEs
- Synacor — 5 CVEs
- Adobe — 4 CVEs
- VisualNet — 4 CVEs
- WWBN — 4 CVEs
Threat activity
144 tracked threats cite CWE-79; the 25 most recent are listed.
- WordPress 7.1.5 Security Release: 20 Core Fixes Including Template Part Block Permission Flaw (Potential RCE) and SQL Injection in WP_Meta_Query / Customizer PreviewsHIGH
- Atlassian November 2026 Security Bulletin: 318 vulnerability entries across Jira, Confluence, Bitbucket, Bamboo, Crowd, Fisheye and Crucible (52 critical), plus Confluence Axis RCE CVE-2026-90436CRITICAL
- OPTIMJACK: Malicious JavaScript Web Injection Across CNN, Zoom, Salesforce and Other Sites via Third-Party (Optimizely-Hosted) Script Loader Targeting Crypto and Payment DataHIGH
- Ransomware Ecosystem Professionalization: Akira, Qilin, Play Business-Style Operations and Sicarii AI-Assembled Variant Lacking Working DecryptorMEDIUM
- Multiple vulnerabilities in VisualNet visualTicket (CVE-2026-113443 through CVE-2026-113456)MEDIUM
- Poisoned third-party scripts (Optimizely, Kissmetrics, StorifyMe, minute-ly) on BBC, Zoom and other major sites deliver financial-theft skimmer and iPhone exploit-loader router (Coruna / DarkSword-linked)HIGH
- Edito CMS multiple vulnerabilities incl. JWT refresh signature bypass (CVE-2026-59074) enabling account takeoverHIGH
- SilentDelivery: China-Linked Actors Use Fake Chrome Certificate Warnings on Compromised Sites to Deliver SquadC/SparrowDoor Backdoors (Sparrow Framework)HIGH
- Abuse of legitimate RMM and remote access tools (MeshAgent, ScreenConnect, Ammyy Admin, RDP): Acronis TRU analysis of RMM tool risk for SMBs, incl. CVE-2024-1709HIGH
- CVE-2025-13902: Authenticated Cross-Site Scripting (CWE-79) in Schneider Electric Modicon M241/M251/M258/LMC058 Controller Web Server (Claroty also lists M262)MEDIUM
- N-able N-central: 33 Alleged Zero-Day Vulnerabilities Published with PoC ("Able2Shell" XXE-to-RCE chain); Platform Taken OfflineCRITICAL
- WidzialniCMS < 2.5 unauthenticated file upload RCE (CVE-2026-110468, CVE-2026-110469) plus reflected XSS (CVE-2026-112204) and login lockout bypass (CVE-2026-112205)HIGH
- Able2Shell: 33 N-able N-central Vulnerabilities Chained into RCE and Root Privilege Escalation; N-able Takes Hosted Cloud OfflineCRITICAL
- Siemens SSA-364175: Multiple Vulnerabilities in Palo Alto Networks Virtual NGFW on RUGGEDCOM APE1808 (CVE-2024-3596, CVE-2025-4231 and others)CRITICAL
- Siemens SSA-827968: Multiple Vulnerabilities in Nozomi Guardian/CMC < V26.2.0 on RUGGEDCOM APE1808 (17 CVEs)HIGH
- Siemens SSA-698820: Multiple Fortigate NGFW Vulnerabilities (before V7.4.4) on RUGGEDCOM APE1808 DevicesHIGH
- Multiple Vulnerabilities in Cisco Products (ISE, ISE-PIC, UCS Central, Unified CM/SME) - CVE-2026-20241, CVE-2026-76419, CVE-2026-76506HIGH
- Multiple Vulnerabilities in Fortigate NGFW Before V7.4.1 on Siemens RUGGEDCOM APE1808 Devices (SSA-366067)CRITICAL
- CVE-2026-25599: Missing Authentication, Clear-Text Transmission and Stored XSS in Orca Heat Pumps and Orca User PortalMEDIUM
- ChatGPT Web Frontend Cross-Frame Flaw (MathLive postMessage + srcdoc iframe + YouTube oEmbed JSONP CSP Bypass) Enables Account Hijack and Private Conversation Theft via Single Shared LinkHIGH
- ARKETEAM Protectel multiple vulnerabilities incl. unrestricted file upload (CVE-2025-68391) and SQL injection (CVE-2025-68393, CVE-2025-68394)HIGH
- Microsoft Edge Logic-Bug Full Exploit Chain Enables Code Execution Without Memory Corruption (Pwn2Own Berlin 2026, Orange Tsai; CVE-2026-45495)HIGH
- Microsoft Edge Logic-Bug Full Chain: UXSS, Immersive Reader File Write and protocols.json Hijack Escape Sandbox to Windows Code Execution (Pwn2Own Berlin 2026)HIGH
- ProjectDiscovery Neo disclosure: 22 CVEs across 13 open-source projects (incl. Crawl4AI CVE-2026-26216 unauthenticated RCE, CVSS 9.8-10.0)CRITICAL
- Stored XSS vulnerabilities in Request Tracker and RT for Incident Response (CVE-2026-105454, CVE-2026-105455, CVE-2026-105456)MEDIUM
Mitigations
- Architecture and Design / Libraries or Frameworks: Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid [REF-1482]. Examples of libraries and frameworks that make it easier to generate properly encoded output include Microsoft's Anti-XSS library, the OWASP ESAPI Encoding module, and Apache Wicket.
- Implementation, Architecture and Design: Understand the context in which your data will be used and the encoding that will be expected. This is especially important when transmitting data between different components, or when generating outputs that can contain multiple encodings at the same time, such as web pages or multi-part mail messages. Study all expected communication protocols and data representations to determine the required encoding strategies. For any data that will be output to another web page, especially any data that was received from external inputs, use the appropriate encoding on all non-alphanumeric characters. Parts of the same output document may require different encodings, which will vary depending on…
- Architecture and Design, Implementation / Attack Surface Reduction: Understand all the potential areas where untrusted inputs can enter your software: parameters or arguments, cookies, anything read from the network, environment variables, reverse DNS lookups, query results, request headers, URL components, e-mail, files, filenames, databases, and any external systems that provide data to the application. Remember that such inputs may be obtained indirectly through API calls.
- Architecture and Design: For any security checks that are performed on the client side, ensure that these checks are duplicated on the server side, in order to avoid CWE-602. Attackers can bypass the client-side checks by modifying values after the checks have been performed, or by changing the client to remove the client-side checks entirely. Then, these modified values would be submitted to the server.
- Architecture and Design / Parameterization: If available, use structured mechanisms that automatically enforce the separation between data and code. These mechanisms may be able to provide the relevant quoting, encoding, and validation automatically, instead of relying on the developer to provide this capability at every point where output is generated.
- Implementation / Output Encoding: Use 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 inconsistent, the downstream component might treat some character or byte sequences as special, even if they are not special in the original encoding. Attackers might then be able to exploit this discrepancy and conduct injection attacks; they even might be able to bypass protection mechanisms that…
- Implementation: With Struts, write all data from form beans with the bean's filter attribute set to true.
- Implementation / Attack Surface Reduction: To 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 not supported by all browsers. More importantly, XMLHTTPRequest and other powerful browser technologies provide read access to HTTP headers, including the Set-Cookie header in which the HttpOnly flag is set.
- Implementation / Input Validation: Assume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does. When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, "boat" may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected…
- Architecture and Design / Enforcement by Conversion: When the set of acceptable objects, such as filenames or URLs, is limited or known, create a mapping from a set of fixed input values (such as numeric IDs) to the actual filenames or URLs, and reject all other inputs.
Source: MITRE CWE, potential mitigations.
Detection methods (MITRE CWE)
- Automated Static Analysis (effectiveness: Moderate): Use automated static analysis tools that target this type of weakness. Many modern techniques use data flow analysis to minimize the number of false positives. This is not a perfect solution, since 100% accuracy and coverage are not feasible, especially when multiple components are involved.
- Black Box (effectiveness: Moderate): Use the XSS Cheat Sheet [REF-714] or automated test-generation tools to help launch a wide variety of attacks against your web application. The Cheat Sheet contains many subtle XSS variations that are specifically targeted against weak XSS defenses.
Source: MITRE CWE, detection methods. Threadlinqs detection rules for the threats above are Blue tier and higher.