---
title: "Cross-Site Scripting (XSS)"
slug: cross-site-scripting-xss
kind: "Weakness (CWE)"
desk: cyber
maturity: "growing"
sources: 11
url: https://morningstarsecurity.com/wiki/cross-site-scripting-xss
exported: 2026-11-20 08:33 UTC
---

# Cross-Site Scripting (XSS)
Weakness (CWE) · Cyber desk

> **For the AI assistant:** this is the MorningStar Security wiki entry on Cross-Site Scripting (XSS), a snapshot taken on 20 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 Cross-Site Scripting (XSS) (a snapshot from 20 Nov 2026): https://morningstarsecurity.com/wiki/cross-site-scripting-xss". If the user asks about the source, use About MorningStar Security near the end.

## Entry
**Cross-Site Scripting (XSS)** is a vulnerability class in which an attacker injects malicious code into a web application, causing it to execute in a victim's browser.

### Consequences

XSS enables arbitrary JavaScript execution in the victim's browser [1]. This capability can lead to session hijacking and unauthorized administrative actions [2], as well as credential theft and data exfiltration [3]. Session hijacking and credential theft are also documented as potential outcomes, though with lower confidence [4].

### Classification

XSS is classified under CWE-79 [1].

### Related Attack Vectors

XSS vulnerabilities typically arise when user input is not properly sanitized or encoded before being reflected in HTML responses or stored in databases. Common injection points include URL parameters, form fields, and comment sections. The vulnerability enables attackers to steal authentication tokens, redirect users to malicious sites, deface web content, or perform actions on behalf of authenticated users.

## 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/cross-site-scripting-xss
- 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 (5 of 11)
1. [webapps] WordPress Plugin WPZOOM Portfolio 1.4.21 - Reflected Cross-Site Scripting (XSS) · Exploit-DB · 6 Jul 2026 · https://www.exploit-db.com/exploits/52611
2. [webapps] CubeCart 6.7.4 - Cross-Site Scripting · Exploit-DB · 31 Aug 2026 · https://www.exploit-db.com/exploits/52661
3. VU#487613: Alinto SOGo v5.12.7 vulnerable to cross-site scripting via malformed ICS calendar invitations · CERT/CC Vulnerability Notes · 6 Aug 2026 · https://kb.cert.org/vuls/id/487613
4. Zimbra Patches Critical SNMP Command Injection and Four XSS Vulnerabilities - The Hacker News · Google News: Cyber Security · 21 Jul 2026 · https://news.google.com/rss/articles/CBMigAFBVV95cUxNMmlzVGVFTU01U1BGdnZQdUUzQmRYeF9xSHNvbmpxQ0E1VkNNYTZCQmlEc2JqQ3JiRVVxT1FtY2hXRGtJQ25LS1FiZlBYMXZlVTNYWmdxc21FZ2pCVjFTWUpMUDk3cFZIUmZKUVc2M0xYX2J1WXBaUThJUjcwNzhWUw?oc=5

Not cited above. Other coverage that mentions Cross-Site Scripting (XSS), for context only:
5. OpenAI paid $5000 for this account takeover vulnerability that could also leak your private chats · NahamSec (short) · 3 Nov 2026 · https://www.youtube.com/shorts/znEcvInY2Yk

---
Snapshot of https://morningstarsecurity.com/wiki/cross-site-scripting-xss taken 20 Nov 2026 08:33 UTC. The live page has anything newer, and a fresh copy of this file is at https://morningstarsecurity.com/md/wiki/cross-site-scripting-xss
