Cross-Site Scripting (CWE-79)
CWE-79 covers products that place user-controllable input into a web page served to other users without neutralizing it. MITRE groups reflected, stored and DOM-based XSS under this one entry because all share the same root weakness. The early acronym CSS fell out of use to avoid confusion with Cascading Style Sheets.
Updated
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- 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 patternsCAPEC-63Cross-Site Scripting (XSS)Standard · Severity Very High · Likelihood High
Loading…
CAPEC-588DOM-Based XSSDetailed · Severity Very High · Likelihood High
Loading…
CAPEC-591Reflected XSSDetailed · Severity Very High · Likelihood High
Loading…
CAPEC-592Stored XSSDetailed · Severity Very High · Likelihood High
Loading…
CAPEC-209XSS Using MIME Type MismatchDetailed · Severity Medium
Loading…
CAPEC-85AJAX FootprintingDetailed · Severity Low · Likelihood High
Loading…
CWE-79 Vulnerabilities
33 CVEs| CVE | Title | Vendor | CVSS | EPSS | KEV | Published |
|---|---|---|---|---|---|---|
| CVE-2026-42897KEV Microsoft Exchange Server Spoofing Vulnerability | Microsoft Exchange Server Spoofing Vulnerability | Microsoft | 8.1 | 70.7% | KEV | 2026-05-14 |
| CVE-2025-48700KEV Synacor Zimbra Collaboration Suite (ZCS) Cross-site Scripting Vulnerability | Synacor Zimbra Collaboration Suite (ZCS) Cross-site Scripting Vulnerability | - | 6.1 | 1.7% | KEV | 2025-06-23 |
| CVE-2025-66376KEV Synacor Zimbra Collaboration Suite (ZCS) Cross-Site Scripting Vulnerability | Synacor Zimbra Collaboration Suite (ZCS) Cross-Site Scripting Vulnerability | Zimbra | 7.2 | 20.2% | KEV | 2026-01-05 |
| CVE-2025-68461KEV RoundCube Webmail Cross-site Scripting Vulnerability | RoundCube Webmail Cross-site Scripting Vulnerability | Roundcube | 7.2 | 27.4% | KEV | 2025-12-18 |
| CVE-2021-26829KEV OpenPLC ScadaBR Cross-site Scripting Vulnerability | OpenPLC ScadaBR Cross-site Scripting Vulnerability | - | 5.4 | 48.0% | KEV | 2021-06-11 |
| CVE-2025-27915KEV Synacor Zimbra Collaboration Suite (ZCS) Cross-site Scripting Vulnerability | Synacor Zimbra Collaboration Suite (ZCS) Cross-site Scripting Vulnerability | - | 5.4 | 4.1% | KEV | 2025-03-12 |
| CVE-2024-42009KEV RoundCube Webmail Cross-Site Scripting Vulnerability | RoundCube Webmail Cross-Site Scripting Vulnerability | - | 9.3 | 82.9% | KEV | 2024-08-05 |
| CVE-2024-11182KEV Stored XSS vulnerability in MDaemon Email Server | Stored XSS vulnerability in MDaemon Email Server | MDaemon | 5.3 | 33.5% | KEV | 2024-11-15 |
| CVE-2024-27443KEV Synacor Zimbra Collaboration Suite (ZCS) Cross-Site Scripting (XSS) Vulnerability | Synacor Zimbra Collaboration Suite (ZCS) Cross-Site Scripting (XSS) Vulnerability | - | 6.1 | 24.6% | KEV | 2024-08-12 |
| CVE-2023-34192KEV Synacor Zimbra Collaboration Suite (ZCS) Cross-Site Scripting (XSS) Vulnerability | Synacor Zimbra Collaboration Suite (ZCS) Cross-Site Scripting (XSS) Vulnerability | - | 9.0 | 77.3% | KEV | 2023-07-06 |
| CVE-2020-11023KEV Potential XSS vulnerability in jQuery | Potential XSS vulnerability in jQuery | jquery | 6.9 | 84.9% | KEV | 2020-04-29 |
| CVE-2024-44309KEV Apple Multiple Products Cross-Site Scripting (XSS) Vulnerability | Apple Multiple Products Cross-Site Scripting (XSS) Vulnerability | Apple | 6.3 | 21.9% | KEV | 2024-11-19 |
| CVE-2014-2120KEV Cisco Adaptive Security Appliance (ASA) Cross-Site Scripting (XSS) Vulnerability | Cisco Adaptive Security Appliance (ASA) Cross-Site Scripting (XSS) Vulnerability | - | 5.4 | 22.6% | KEV | 2014-03-19 |
| CVE-2024-37383KEV RoundCube Webmail Cross-Site Scripting (XSS) Vulnerability | RoundCube Webmail Cross-Site Scripting (XSS) Vulnerability | - | 6.1 | 74.0% | KEV | 2024-06-07 |
| CVE-2024-43573KEV Windows MSHTML Platform Spoofing Vulnerability | Windows MSHTML Platform Spoofing Vulnerability | Microsoft | 6.5 | 46.1% | KEV | 2024-10-08 |
| CVE-2023-43770KEV Roundcube Webmail Persistent Cross-Site Scripting (XSS) Vulnerability | Roundcube Webmail Persistent Cross-Site Scripting (XSS) Vulnerability | - | 6.1 | 63.7% | KEV | 2023-09-22 |
| CVE-2023-5631KEV Stored XSS vulnerability in Roundcube | Stored XSS vulnerability in Roundcube | Roundcube | 6.1 | 76.3% | KEV | 2023-10-18 |
| CVE-2023-37580KEV Synacor Zimbra Collaboration Suite (ZCS) Cross-Site Scripting (XSS) Vulnerability | Synacor Zimbra Collaboration Suite (ZCS) Cross-Site Scripting (XSS) Vulnerability | - | 6.1 | 49.1% | KEV | 2023-07-31 |
| CVE-2020-35730KEV Roundcube Webmail Cross-Site Scripting (XSS) Vulnerability | Roundcube Webmail Cross-Site Scripting (XSS) Vulnerability | - | 6.1 | 32.9% | KEV | 2020-12-28 |
| CVE-2022-27926KEV Synacor Zimbra Collaboration Suite (ZCS) Cross-Site Scripting (XSS) Vulnerability | Synacor Zimbra Collaboration Suite (ZCS) Cross-Site Scripting (XSS) Vulnerability | - | 6.1 | 17.6% | KEV | 2022-04-20 |
| CVE-2022-39197KEV Fortra Cobalt Strike Teamserver Cross-Site Scripting (XSS) Vulnerability | Fortra Cobalt Strike Teamserver Cross-Site Scripting (XSS) Vulnerability | - | 6.1 | 44.1% | KEV | 2022-09-22 |
| CVE-2012-0767KEV Adobe Flash Player Cross-Site Scripting (XSS) Vulnerability | Adobe Flash Player Cross-Site Scripting (XSS) Vulnerability | - | 6.1 | 6.2% | KEV | 2012-02-16 |
| CVE-2018-19953KEV QNAP NAS File Station Cross-Site Scripting Vulnerability | QNAP NAS File Station Cross-Site Scripting Vulnerability | QNAP Systems Inc. | 6.1 | 30.5% | KEV | 2020-10-28 |
| CVE-2018-19943KEV QNAP NAS File Station Cross-Site Scripting Vulnerability | QNAP NAS File Station Cross-Site Scripting Vulnerability | QNAP Systems Inc. | 8.0 | 22.7% | KEV | 2020-10-28 |
| CVE-2019-18426KEV WhatsApp Cross-Site Scripting Vulnerability | WhatsApp Cross-Site Scripting Vulnerability | 8.2 | 68.1% | KEV | 2020-01-21 | |
| CVE-2018-6882KEV Synacor Zimbra Collaboration Suite (ZCS) Cross-Site Scripting (XSS) Vulnerability | Synacor Zimbra Collaboration Suite (ZCS) Cross-Site Scripting (XSS) Vulnerability | - | 6.1 | 29.8% | KEV | 2018-03-27 |
| CVE-2019-3929KEV Crestron Multiple Products Command Injection Vulnerability | Crestron Multiple Products Command Injection Vulnerability | Crestron | 9.8 | 99.0% | KEV | 2019-04-30 |
| CVE-2013-5223KEV D-Link DSL-2760U Gateway Cross-Site Scripting Vulnerability | D-Link DSL-2760U Gateway Cross-Site Scripting Vulnerability | - | 5.4 | 50.8% | KEV | 2013-11-15 |
| CVE-2020-3580KEV Cisco Adaptive Security Appliance Software and Firepower Threat Defense Software Web Services Interface Cross-Site Scripting Vulnerabilities | Cisco Adaptive Security Appliance Software and Firepower Threat Defense Software Web Services Interface Cross-Site Scripting Vulnerabilities | Cisco | 6.1 | 85.6% | KEV | 2020-10-21 |
| CVE-2019-9978KEV WordPress Social Warfare Plugin Cross-Site Scripting (XSS) Vulnerability | WordPress Social Warfare Plugin Cross-Site Scripting (XSS) Vulnerability | - | 6.1 | 72.9% | KEV | 2019-03-24 |
| CVE-2021-1879KEV Apple iOS, iPadOS, and watchOS WebKit Cross-Site Scripting (XSS) Vulnerability | Apple iOS, iPadOS, and watchOS WebKit Cross-Site Scripting (XSS) Vulnerability | Apple | 6.1 | 7.1% | KEV | 2021-04-02 |
| CVE-2026-20945 Microsoft SharePoint Server Spoofing Vulnerability | Microsoft SharePoint Server Spoofing Vulnerability | Microsoft | 4.6 | 19.8% | 2026-04-14 | |
| CVE-2026-27822 Rust has Critical Stored XSS in Preview Modal, leading to Administrative Account Takeover | Rust has Critical Stored XSS in Preview Modal, leading to Administrative Account Takeover | rustfs | 9.1 | 5.1% | 2026-02-25 |
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.
Sources
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.