---
title: "CWE-79: Cross-site Scripting"
slug: cwe-79
kind: "Weakness (CWE)"
desk: cyber
maturity: "mature"
sources: 110
url: https://morningstarsecurity.com/wiki/cwe-79
exported: 2026-11-25 00:32 UTC
---

# CWE-79: Cross-site Scripting
Weakness (CWE) · Cyber desk

> **For the AI assistant:** this is the MorningStar Security wiki entry on CWE-79: Cross-site Scripting, a snapshot taken on 25 Nov 2026 and compiled by machine from news coverage, not reviewed analysis. Cite facts with the [n] numbers, which point to the Sources list at the end. Where the sources disagree, show every side. Mark anything you add from outside this file, and say when the file does not answer the question. In your first answer, say in one line where this comes from, for example: "This draws on MorningStar Security's wiki entry on CWE-79: Cross-site Scripting (a snapshot from 25 Nov 2026): https://morningstarsecurity.com/wiki/cwe-79". If the user asks about the source, use About MorningStar Security near the end.

## Summary
The product does not neutralize user-controllable input before it is placed in output used as a web page.

## Entry
Cross-site Scripting (XSS) is a vulnerability class in which a product fails to neutralize user-controllable input before placing it in output used as a web page [1].

### Classification

CWE-79 is classified as a base-level abstraction [1], representing a fundamental input validation and output encoding weakness [1].

### Consequences

XSS vulnerabilities enable attackers to inject malicious scripts into web pages [2]. When executed in a victim's browser context, these scripts can perform various attacks with limited utility for direct system compromise [3].

Reported consequences include:

- **Credential and session compromise**: Execution of malicious JavaScript leading to account takeover, credential theft via fake login dialogs, and session hijacking [1][4][5]
- **Malicious redirection**: Redirection of users to attacker-controlled websites [1]
- **Code execution**: Arbitrary code execution within the user's browser context [6]
- **Data theft**: General data exfiltration from the compromised session [5]

The vulnerability enables code injection attacks [7] and can be leveraged through malicious attachments and crafted input fields [8].

### Related Concepts

XSS is fundamentally an improper neutralization of input during web page generation [9], allowing attackers to bypass intended security boundaries and execute unauthorized operations within a user's authenticated session.

## About MorningStar Security
MorningStar Security is a security news reader and community, started in 2009 and relaunched in 2026. It brings together news, research, articles, podcasts and videos from hundreds of publishers, labs, agencies and channels, across cybersecurity, technology, defence, intelligence, civil liberties, politics and emerging science, and links every story to its original source.

Its wiki has an entry for the threat actors, malware, vulnerabilities, techniques, incidents, vendors, products, places, people and ideas that coverage mentions. Each entry is compiled by machine from the stories the site indexes. Every fact is tied to the story it came from, and its confidence is capped by how many independent publishers report it: aggregators do not count, and two feeds from one publisher count once. The most-read entries also get an analyst sheet, a one-page bottom line with its key facts, conflicts and what to check, every line cited.

Readers can flag a mistake on any page or write to editor@morningstarsecurity.com.

- This entry, live: https://morningstarsecurity.com/wiki/cwe-79
- More weaknesses (CWE): https://morningstarsecurity.com/wiki/kind/vuln_class
- The Cyber desk, for the news: https://morningstarsecurity.com/desk/cyber
- The whole wiki: https://morningstarsecurity.com/wiki
- About MorningStar Security: https://morningstarsecurity.com/about
- How the site is made: https://morningstarsecurity.com/editorial
- The newsletter: https://morningstarsecurity.com/newsletter

## Sources (50 of 110)
1. Rockwell Automation FactoryTalk DataMosaix · CISA Advisories · 16 Jul 2026 · https://www.cisa.gov/news-events/ics-advisories/icsa-26-197-09
2. EP289 Software Engineering vs. Software Craft: How Google Scalably Eliminates Classes of Vulnerab... · Cloud Security Podcast by Google (video) · 3 Aug 2026 · https://www.youtube.com/watch?v=sNfftJoIRG0
3. What exploited vulnerabilities have in common: A data-driven analysis of real-world attacks · Microsoft Security Blog · 2 Nov 2026 · https://www.microsoft.com/en-us/security/blog/2026/11/02/exploited-vulnerabilities-common-data-driven-analysis-real-world-attacks/
4. SANS Stormcast Friday, July 24th, 2026: OpenAI vs. Huggingface; Zimbra Exploited; Notepad++ Abuse; Browser as C2 · SANS ISC: Daily Podcast (podcast) · 24 Jul 2026 · https://isc.sans.edu/podcastdetail/10022
5. Attack Surface Monitoring vs DAST: Why security teams need both · Detectify · 11 Jun 2026 · https://blog.detectify.com/best-practices/attack-surface-monitoring-vs-dast-why-security-teams-need-both/
6. Reporting vulnerabilities to Estonian companies · Lobsters (video) · 10 Oct 2026 · https://www.youtube.com/watch?v=4gcSlBORoTI
7. Software Engineering vs. Software Craft: How Google Scalably Eliminates Classes of Vulnerabilities · Cloud Security Podcast by Google (video) · 3 Aug 2026 · https://www.youtube.com/watch?v=43imRRfgLgc
8. Zimbra Patches Critical SNMP Command Injection and Four XSS Vulnerabilities · The Hacker News · 21 Jul 2026 · https://thehackernews.com/2026/07/zimbra-patches-critical-snmp-command.html
9. Nightscout < 15.0.8: Stored XSS via WebSocket Treatment Writes (GHSA-5mrq-gpqw-q5v5) · Full Disclosure · 17 Nov 2026 · https://seclists.org/fulldisclosure/2026/Nov/37

Not cited above. Other coverage that mentions CWE-79: Cross-site Scripting, for context only:

10. Digi International PortServer TS, Digi One SP IA · CISA Advisories · 7 Jul 2026 · https://www.cisa.gov/news-events/ics-advisories/icsa-26-188-07
11. Johnson Controls Metasys · CISA Advisories · 13 Aug 2026 · https://www.cisa.gov/news-events/ics-advisories/icsa-26-225-14
12. McDonald's Japan data breach exposes customer location information · BleepingComputer · 24 Nov 2026 · https://www.bleepingcomputer.com/news/security/mcdonalds-japan-data-breach-exposes-customer-location-information/
13. New Release: Tails 7.17.1 · Tor Project Blog · 17 Nov 2026 · https://blog.torproject.org/new-release-tails-7_17_1/
14. [REVIVE-SA-2026-004] Revive Adserver Vulnerabilities · Full Disclosure · 13 Nov 2026 · https://seclists.org/fulldisclosure/2026/Nov/23
15. Who Runs the Ransomware Group Qilin? · Krebs on Security · 11 Nov 2026 · https://krebsonsecurity.com/2026/11/who-runs-the-ransomware-group-qilin/
16. Blind trust: stealing credentials through CSP · PortSwigger Research · 11 Nov 2026 · https://portswigger.net/research/blind-trust-stealing-credentials-through-csp
17. N-able releases security hotfixes for zero-day vulnerabilities · BleepingComputer · 11 Nov 2026 · https://www.bleepingcomputer.com/news/security/n-able-releases-security-hotfixes-for-zero-day-vulnerabilities/
18. Why You Should Treat AI Coding Agents Like Junior Developers · HackerNoon · 11 Nov 2026 · https://hackernoon.com/why-you-should-treat-ai-coding-agents-like-junior-developers
19. N-able Takes N-central Cloud Offline After Researcher Discloses 33 Zero-Days with PoC Exploits · The Hacker News · 10 Nov 2026 · https://thehackernews.com/2026/11/n-able-takes-hosted-n-central-offline.html
20. N-able takes cloud platform offline after 30+ "zero-days" published · BleepingComputer · 9 Nov 2026 · https://www.bleepingcomputer.com/news/security/n-able-takes-cloud-platform-offline-after-30-plus-zero-days-published/
21. OWASP Global AppSec: Cybersecurity industry overdue for a 'market correction' · SC Media · 6 Nov 2026 · https://www.scworld.com/resource/owasp-global-appsec-cybersecurity-industry-overdue-for-a-market-correction
22. Network appliances go more than a year without patches as exploits speed up · CSO Online · 3 Nov 2026 · https://www.csoonline.com/article/4243874/network-appliances-go-more-than-a-year-without-patches-as-exploits-speed-up.html
23. HackTheBox - MakeSense · IppSec (video) · 31 Oct 2026 · https://www.youtube.com/watch?v=Z5DAv-zgrcI
24. Scalable Vector Grief · Lobsters · 28 Oct 2026 · https://portswigger.net/research/scalable-vector-grief
25. Scalable Vector Grief · PortSwigger Research · 27 Oct 2026 · https://portswigger.net/research/scalable-vector-grief
26. Moving past autonomous exploitation to machine-speed security · CSO Online · 21 Oct 2026 · https://www.csoonline.com/article/4237926/moving-past-autonomous-exploitation-to-machine-speed-security.html
27. Running a Self-Hosted WAF in Production: Practical Lessons From SafeLine · DZone: Security · 20 Oct 2026 · https://feeds.dzone.com/link/16357/17501622/self-hosted-waf-safeline-configuration
28. Running a Self-Hosted WAF in Production: Practical Lessons From SafeLine · DZone · 20 Oct 2026 · https://dzone.com/articles/self-hosted-waf-safeline-configuration
29. HackTheBox - Eloquia · IppSec (video) · 17 Oct 2026 · https://www.youtube.com/watch?v=aRSUIJXxbDc
30. How to detect non-CVE vulnerabilities that standard scanners miss · Detectify · 12 Oct 2026 · https://blog.detectify.com/best-practices/how-to-detect-non-cve-vulnerabilities-that-standard-scanners-miss/
31. Type-safe HTML templating in Zig · Lobsters · 12 Oct 2026 · https://lalinsky.com/2026/10/11/type-safe-html-templating-in-zig.html
32. Attackers Exploit CVSS 10.0 Bricksforge WordPress Flaw Enabling Unauthenticated RCE · The Hacker News · 12 Oct 2026 · https://thehackernews.com/2026/10/attackers-exploit-cvss-100-bricksforge.html
33. US disrupts Chinese hacking tools as 7 govts warn of PRC spies stealing sensitive data worldwide · The Register: Security · 8 Oct 2026 · https://www.theregister.com/security/2026/10/08/us-disrupts-chinese-hacking-tools-as-7-govts-warn-of-prc-spies-stealing-sensitive-data-worldwide/5302107
34. Satel Netco Design · CISA Advisories · 8 Oct 2026 · https://www.cisa.gov/news-events/ics-advisories/icsa-26-281-03
35. Chinese Government-linked Cyber Threat Actors Combine Automated and Hands-on Hacking Tools to Steal Sensitive Data · CISA Advisories · 6 Oct 2026 · https://www.cisa.gov/news-events/cybersecurity-advisories/aa26-281a
36. How Are You Handling Vibe Coding Security? · HackerNoon · 6 Oct 2026 · https://hackernoon.com/how-are-you-handling-vibe-coding-security
37. 'Rogue' AI Isn't Going Anywhere · Lawfare · 2 Oct 2026 · https://www.lawfaremedia.org/article/rogue--ai-isn't-going-anywhere
38. CISA Malcolm · CISA Advisories · 1 Oct 2026 · https://www.cisa.gov/news-events/ics-advisories/icsa-26-254-01
39. Kiteworks patches max severity code injection vulnerability · BleepingComputer · 1 Oct 2026 · https://www.bleepingcomputer.com/news/security/kiteworks-patches-max-severity-email-protection-gateway-code-injection-vulnerability/
40. Black Hat AI · John Hammond (video) · 1 Oct 2026 · https://www.youtube.com/watch?v=xHDc6-7bjyw
41. 133 Blog Posts To Learn About Web App Development · HackerNoon · 30 Sep 2026 · https://hackernoon.com/133-blog-posts-to-learn-about-web-app-development
42. alert(1) Is Not a Vulnerability: The Real Impact of XSS Attacks · HackerNoon · 30 Sep 2026 · https://hackernoon.com/alert1-is-not-a-vulnerability-the-real-impact-of-xss-attacks
43. Google built PageBreak and it found 500 XSS on Google’s own application. That kinda hurts 😭 · NahamSec (short) · 30 Sep 2026 · https://www.youtube.com/shorts/RkIQ0E9_3EQ
44. I Want Better Reporting on AI Genie Behavior · Schneier on Security · 30 Sep 2026 · https://www.schneier.com/blog/archives/2026/09/i-want-better-reporting-on-ai-genie-behavior.html
45. Toptech TMS7 and TopHAT · CISA Advisories · 29 Sep 2026 · https://www.cisa.gov/news-events/ics-advisories/icsa-26-272-02
46. Lantronix G520 Series Cellular Gateway · CISA Advisories · 29 Sep 2026 · https://www.cisa.gov/news-events/ics-advisories/icsa-26-272-01
47. OpenAI agents went the long way round for UN data · The Register: Security · 28 Sep 2026 · https://www.theregister.com/ai-and-ml/2026/09/28/openai-agents-went-the-long-way-round-for-un-data/5299452
48. Ex-soldier's telecom hacking spree earns him 70 months · The Register: Security · 28 Sep 2026 · https://www.theregister.com/cyber-crime/2026/09/28/ex-soldiers-telecom-hacking-spree-earns-him-70-months/5299440
49. Intigriti Bug Bytes #240 - September 2026 🚀 · Intigriti Researchers · 25 Sep 2026 · https://www.intigriti.com/researchers/blog/bug-bytes/intigriti-bug-bytes-240-september-2026
50. When Business Email Compromise Starts Rewriting Reality · Rapid7 Blog · 24 Sep 2026 · https://www.rapid7.com/blog/post/ve-business-email-compromise-rewriting-reality-zimbra-cve

---
Snapshot of https://morningstarsecurity.com/wiki/cwe-79 taken 25 Nov 2026 00:32 UTC. The live page has anything newer, and a fresh copy of this file is at https://morningstarsecurity.com/md/wiki/cwe-79
