Skip to main content

About CWE-79

The most common result is disclosure of data such as session cookies, which a script can send elsewhere. Script also runs with the victim's privileges in the site, and combined with other flaws may lead to code execution on the victim's machine.

MITRE name
Improper Neutralization of Input During Web Page Generation
Abstraction
Base: abstract, but detailed enough to infer detection and prevention methods
Status
Stable

Also Known As

  • Cross-site Scripting
  • XSS
  • HTML Injection
  • Reflected XSS / Non-Persistent XSS / Type 1 XSS
  • Stored XSS / Persistent XSS / Type 2 XSS
  • DOM-Based XSS / Type 0 XSS
  • CSS

Mitigations

  • Use a vetted framework or encoding library that produces properly encoded output.
  • Encode output for its exact context, since HTML body, attributes, URIs, JavaScript and CSS each need different encoding.
  • Use structured mechanisms that enforce separation between data and code.
  • Repeat client-side checks on the server.
  • Keep client state and sensitive data on the server side where possible to shrink the input surface.

Detection
Automated static analysis has moderate effectiveness, and black box testing with automated test generation can help. Stored XSS is harder to find because the trigger may occur long after the data was stored.

CWE-79 in the KEV Catalog

as of 2026-11-14
All KEV statistics→
  • 31 CISA KEV entries name Cross-Site Scripting (CWE-79) in their CVE record, ranking 15th among the 195 weaknesses named in the catalog.
  • CISA added 5 CWE-79 entries to the KEV catalog in 2024, 7 in 2025, and 4 so far in 2026.
  • Zimbra has the most CWE-79 entries in the CISA KEV catalog (8), followed by Roundcube (6).
  • For CWE-79 entries added to the CISA KEV catalog since 2023, the median time from CVE publication to KEV listing is 190 days, compared with 15 days for all entries added in that period.
  • CISA marks 13% of CWE-79 KEV entries (4 of 31) as known to be used in ransomware campaigns, compared with 20% of all KEV entries.
  • CISA's SSVC enrichment rates 6% of CWE-79 KEV entries with SSVC data (2 of 31) as automatable, compared with 41% across the catalog.

Related Attack Patterns

6 CAPEC patterns
CAPEC-63Cross-Site Scripting (XSS)Standard · Severity Very High · Likelihood High
CAPEC-588DOM-Based XSSDetailed · Severity Very High · Likelihood High
CAPEC-591Reflected XSSDetailed · Severity Very High · Likelihood High
CAPEC-592Stored XSSDetailed · Severity Very High · Likelihood High
CAPEC-209XSS Using MIME Type MismatchDetailed · Severity Medium
CAPEC-85AJAX FootprintingDetailed · Severity Low · Likelihood High

CWE-79 Vulnerabilities

33 CVEs
CVECVSS
CVE-2026-42897KEV
Microsoft Exchange Server Spoofing Vulnerability
8.1
CVE-2025-48700KEV
Synacor Zimbra Collaboration Suite (ZCS) Cross-site Scripting Vulnerability
6.1
CVE-2025-66376KEV
Synacor Zimbra Collaboration Suite (ZCS) Cross-Site Scripting Vulnerability
7.2
CVE-2025-68461KEV
RoundCube Webmail Cross-site Scripting Vulnerability
7.2
CVE-2021-26829KEV
OpenPLC ScadaBR Cross-site Scripting Vulnerability
5.4
CVE-2025-27915KEV
Synacor Zimbra Collaboration Suite (ZCS) Cross-site Scripting Vulnerability
5.4
CVE-2024-42009KEV
RoundCube Webmail Cross-Site Scripting Vulnerability
9.3
CVE-2024-11182KEV
Stored XSS vulnerability in MDaemon Email Server
5.3
CVE-2024-27443KEV
Synacor Zimbra Collaboration Suite (ZCS) Cross-Site Scripting (XSS) Vulnerability
6.1
CVE-2023-34192KEV
Synacor Zimbra Collaboration Suite (ZCS) Cross-Site Scripting (XSS) Vulnerability
9.0
CVE-2020-11023KEV
Potential XSS vulnerability in jQuery
6.9
CVE-2024-44309KEV
Apple Multiple Products Cross-Site Scripting (XSS) Vulnerability
6.3
CVE-2014-2120KEV
Cisco Adaptive Security Appliance (ASA) Cross-Site Scripting (XSS) Vulnerability
5.4
CVE-2024-37383KEV
RoundCube Webmail Cross-Site Scripting (XSS) Vulnerability
6.1
CVE-2024-43573KEV
Windows MSHTML Platform Spoofing Vulnerability
6.5
CVE-2023-43770KEV
Roundcube Webmail Persistent Cross-Site Scripting (XSS) Vulnerability
6.1
CVE-2023-5631KEV
Stored XSS vulnerability in Roundcube
6.1
CVE-2023-37580KEV
Synacor Zimbra Collaboration Suite (ZCS) Cross-Site Scripting (XSS) Vulnerability
6.1
CVE-2020-35730KEV
Roundcube Webmail Cross-Site Scripting (XSS) Vulnerability
6.1
CVE-2022-27926KEV
Synacor Zimbra Collaboration Suite (ZCS) Cross-Site Scripting (XSS) Vulnerability
6.1
CVE-2022-39197KEV
Fortra Cobalt Strike Teamserver Cross-Site Scripting (XSS) Vulnerability
6.1
CVE-2012-0767KEV
Adobe Flash Player Cross-Site Scripting (XSS) Vulnerability
6.1
CVE-2018-19953KEV
QNAP NAS File Station Cross-Site Scripting Vulnerability
6.1
CVE-2018-19943KEV
QNAP NAS File Station Cross-Site Scripting Vulnerability
8.0
CVE-2019-18426KEV
WhatsApp Cross-Site Scripting Vulnerability
8.2
CVE-2018-6882KEV
Synacor Zimbra Collaboration Suite (ZCS) Cross-Site Scripting (XSS) Vulnerability
6.1
CVE-2019-3929KEV
Crestron Multiple Products Command Injection Vulnerability
9.8
CVE-2013-5223KEV
D-Link DSL-2760U Gateway Cross-Site Scripting Vulnerability
5.4
CVE-2020-3580KEV
Cisco Adaptive Security Appliance Software and Firepower Threat Defense Software Web Services Interface Cross-Site Scripting Vulnerabilities
6.1
CVE-2019-9978KEV
WordPress Social Warfare Plugin Cross-Site Scripting (XSS) Vulnerability
6.1
CVE-2021-1879KEV
Apple iOS, iPadOS, and watchOS WebKit Cross-Site Scripting (XSS) Vulnerability
6.1
CVE-2026-20945
Microsoft SharePoint Server Spoofing Vulnerability
4.6
CVE-2026-27822
Rust has Critical Stored XSS in Preview Modal, leading to Administrative Account Takeover
9.1

Frequently Asked Questions

What is CWE-79?→

CWE-79 is the MITRE entry for cross-site scripting. User input ends up in a web page without proper neutralization and runs as script in other users' browsers.

Are reflected, stored and DOM XSS separate CWEs?→

No. MITRE lists them as alternate terms under CWE-79 because they share the same underlying weakness.

How many exploited vulnerabilities are classified as CWE-79?→

This database lists 33 CVE records mapped to CWE-79 by their CVE Numbering Authority. 31 of them are in the CISA Known Exploited Vulnerabilities catalog, and CISA links 4 to known ransomware campaigns. Examples include CVE-2026-42897, CVE-2025-48700, CVE-2025-66376.

How quickly are CWE-79 vulnerabilities added to the KEV catalog?→

For CWE-79 entries added to the CISA KEV catalog since 2023, the median time from CVE publication to KEV listing is 190 days, compared with 15 days for all entries added in that period. These figures are as of November 14, 2026.

Weakness definitions summarized from the CWE List, © The MITRE Corporation, used under the CWE Terms of Use. CWE mappings come from each CVE record's CNA. Exploited-in-the-wild data from the CISA KEV catalog (CC0). This site is not affiliated with or endorsed by MITRE or CISA. Attack patterns from CAPEC 3.9, © The MITRE Corporation, used under the CAPEC Terms of Use.