# Cross-Site Scripting > XSS executes attacker-controlled JavaScript in a victim's browser in the security origin of the target site, inheriting that origin's DOM, cookies, tokens and same-origin requests. ## What it is XSS is an **output-handling failure**: untrusted data crosses from "data" into "code" because it reaches an HTML, attribute, URL, CSS or JavaScript context without the encoding or sanitization that context requires ([[raw/excess-xss.com/excess-xss-a-comprehensive-tutorial-on-cross-site-scripting-341|Excess XSS]], [[raw/owasp.org/xss-cross-site-scripting-prevention-cheat-sheet-owasp-275|OWASP Prevention Cheat Sheet]]). The trust boundary that breaks is the **same-origin policy's assumption that everything served by an origin was written by that origin**. Once injected, the script *is* the origin: it can read `document.cookie` (absent `HttpOnly`), read `localStorage`/`sessionStorage` tokens, call authenticated APIs with the victim's cookies, read CSRF tokens out of the DOM, and rewrite what the user sees. Same-origin protections (SOP, [[SameSite Cookies]], CSRF tokens) are all moot from inside the origin. Two orthogonal axes classify a bug; a real finding is one point on each (e.g. stored-DOM, reflected-DOM): | Axis | Values | |---|---| | **Persistence / delivery** | [[Reflected XSS]] (request → immediate response) · [[Stored XSS]] (persisted, served to others) · [[Blind XSS]] (stored, fires in a UI you can't see) | | **Where the injection executes** | Server-rendered HTML vs. [[DOM-Based XSS]] (client-side source → sink, possibly never on the wire; OWASP "Type-0") | ## Why it matters "It's just `alert(1)`" is the most common triage downgrade, and it is wrong: the primitive is "run arbitrary code as the user, in the app" ([[raw/dionach.com/the-real-impact-of-cross-site-scripting-dionach-348|Dionach]]). **Impact ladder** — prove the highest rung you can reach: 1. **Data access / actions as the victim** — read pages and API responses, perform state-changing requests, steal CSRF tokens, fake login forms for credential harvesting, keylogging ([[raw/dionach.com/the-real-impact-of-cross-site-scripting-dionach-348|Dionach]]). 2. **Session theft → [[Account Takeover]]** — cookie exfil, or JWTs in `localStorage`, which SPAs commonly use and which no `HttpOnly` flag protects ([[raw/instatunnel.my/beyond-alert-1-real-xss-dangers-in-react-vue-spas-3095|Beyond alert(1)]]); SDK abuse to mint signed JWTs and live AWS STS creds ([[raw/infosecwriteups.com/chaining-a-dom-xss-sink-waf-bypass-cross-origin-smuggling-and-sdk-abus-10213|DOM XSS → ATO chain]]). 3. **[[Privilege Escalation]]** — stored payload rendered in an admin's session: contributor → admin (The Events Calendar), forced talk acceptance (Pretalx CVE-2026-41241). 4. **Remote code execution** — when the renderer is privileged (Electron/Tauri desktop apps, browser-internal pages) or the admin session can upload code (WordPress plugin upload, Magento PHAR, Arista command injection). See [[Remote Code Execution]]. 5. **Mass impact** — CDN/cache-poisoned XSS hitting every visitor (PayPal, Cloudflare `/cdn-cgi/image/`), shared components on thousands of shops, universal XSS in browser extensions. **Severity drivers:** pre-auth vs. post-auth injection; user interaction (stored/zero-click > one-click > self-XSS); victim privilege (admin/staff consoles); where tokens live (`HttpOnly` cookie vs. `localStorage`); presence of an enforced [[Content Security Policy]]; and whether the renderer has Node/OS reach. **It is exploited in the wild, not just in bounties.** Zimbra CVE-2025-48700 (10k+ exposed servers, CISA KEV) and CVE-2025-66376 (stored XSS via CSS `@import` in email HTML, used by a Russian APT against Ukraine — "Operation GhostMail"); Exchange OWA CVE-2026-42897 (crafted email → JS in OWA, exploited as a zero-day); ShinyHunters used multiple XSS bugs in Canvas LMS to obtain admin sessions and deface login portals; OpenPLC ScadaBR CVE-2021-26829 added to KEV for HMI defacement. CISA and the FBI issued a Secure-by-Design alert specifically on eliminating XSS ([[raw/ibm.com/cisa-and-fbi-release-secure-by-design-guidelines-on-cross-site-scripti-2683|CISA/FBI alert]]). ## How it works The injection point's **context** determines the breakout; the **delivery** determines who is hit and how. | Context | Typical breakout (illustrative) | |---|---| | HTML body | `<svg onload=alert(1)>` (when `<script>` is stripped) | | Quoted attribute | `"><svg onload=…>` or stay inside: `" autofocus onfocus=alert(1) x="` | | JS string | `'-alert(1)-'`, or `</script><svg onload=…>` | | URL / `href` / `location` | `javascript:` scheme | | Template expression | AngularJS `{{…}}` sandbox escape (client-side template injection) | ### Variants - **[[Reflected XSS]]** — payload rides in the request (query, path, header, body) and is echoed back. Delivery is social (link, auto-submitting form, open-redirect chain). Heavily represented in edge/SSO products: Siemens Teamcenter login `redirect` (CVE-2026-58113), PAN-OS GlobalProtect (CVE-2025-0133), Citrix NetScaler SAML `RelayState` (CVE-2025-12101). - **[[Stored XSS]]** — payload is persisted (profile fields, comments, filenames, markdown, ID3 tags, slugs, custom properties) and replayed to every viewer; no click required. Second-order variants: stored safely in one context, rendered unsafely in another. - **[[Blind XSS]]** — stored XSS whose sink is an internal tool (support desk, admin panel, log/analytics viewer). Confirmed only by an out-of-band callback; viewers are typically privileged. - **[[DOM-Based XSS]]** — client JS moves data from a source (`location.*`, `document.referrer`, `window.name`, `postMessage`, cookies, storage) to a sink (`innerHTML`, `document.write`, `eval`, `location = …`, `dangerouslySetInnerHTML`, `v-html`). Fragment (`#…`) payloads never reach the server, defeating server-side WAFs and logs. Dominant in SPAs. `postMessage` handlers are a recurring cross-origin source: missing or substring (`hostname.includes(...)`) origin checks feeding `eval`, `location.href` or `innerHTML` ([[raw/bblabs.es/dom-xss-via-postmessage-to-eval-lab-based-on-a-real-report-15814|bblabs]], [[raw/medium.com/how-a-simple-postmessage-validation-flaw-led-to-dom-xss-15816|foorw1nner]]). - **[[Mutation XSS]]** — beats a *correct* sanitizer: `sanitize → serialize → re-parse` isn't idempotent, so markup the sanitizer judged inert mutates into live markup on `innerHTML` re-insertion (namespace confusion, node flattening, XML/PI/CDATA differentials). - **[[SVG and File Upload XSS]]** — the uploaded file *is* the script: SVG/HTML served same-origin and inline executes as the app's origin. - **Client-side template injection** — user input inside an AngularJS-compiled region is evaluated as an expression; with a sandbox escape this is XSS even when HTML is perfectly encoded ([[raw/blog.portswigger.net/portswigger-web-security-blog-xss-without-html-client-side-template-in-395|XSS without HTML]]). Server-side sibling: [[Server-Side Template Injection]] / [[JavaScript Template Engine SSTI]]. - **Self-XSS** — fires only in the attacker's own session; not reportable alone, but escalable (see Exploitation). ## Where to find it **Sinks and features** - Anything that renders user content: profiles (name, bio, avatar), comments, chat, posts, rich-text/WYSIWYG editors, markdown renderers, email HTML, notification and email templates. - Non-obvious stored fields: filenames, ID3 tags (Ampache), post slugs (WriteFreely), topic/MIME names (MQTTX), custom-property options (GitHub Enterprise Server), Semantic MediaWiki property labels. - Upload paths: SVG avatars, HTML/"image" uploads with trusted client `Content-Type`, presigned-S3/CDN hosts ([[Unrestricted File Upload]]). - Internal/back-office consumers: ticketing, moderation queues, log and analytics dashboards, order processing — fed by feedback forms, `User-Agent`/`Referer`, logged search queries ([[Blind XSS]]). - Redirect and SSO parameters: `redirect`, `returnUrl`, `RelayState`, error-echoed identifiers (Kubeflow pod names, GotoHTTP `sn`). - HTML-to-PDF/report generators — XSS there runs server-side; see [[SSRF in PDF and HTML Renderers]] and the dompdf RCE below. - Desktop and extension renderers: Electron (`nodeIntegration`, `contextIsolation`, preload bridges, IPC) ([[raw/deepstrike.io/penetration-testing-of-electron-based-applications-3073|Electron pentesting]]), Tauri, VS Code extensions, browser extensions. **Framework escape hatches** — auto-escaping covers the HTML-body case only ([[raw/thehackernews.com/why-react-didn-t-kill-xss-the-new-javascript-injection-playbook-3093|Why React didn't kill XSS]]): - React `dangerouslySetInnerHTML`, Vue `v-html`, Angular `[innerHTML]`/`bypassSecurityTrust*`, jQuery `.html()`, Alpine `x-` directives. - Helper/library bugs: Rails `strip_tags` doesn't encode quotes, so output inside an attribute breaks out (GHSA-rq8q-p985-fjq7); Jinja2 `xmlattr` with spaced keys injects attributes (CVE-2024-22195); vue-i18n with `escapeParameterHtml: true` (CVE-2025-53892); Angular template-compiler schema gap via SVG animation/MathML (CVE-2025-66412); Django admin rendering `URLField` as a link without a scheme check → `javascript:` (CVE-2026-15920). - See also [[Python Web Framework Security]]. ## How to test 1. **Map inputs and outputs.** Inject a unique marker per field/parameter; grep every rendered surface — your view, other users' views, admin tooling, exports, emails, PDFs. Burp Repeater for reflections; correlate stored input → output ([[raw/portswigger.net/testing-for-reflected-xss-manually-with-burp-suite-2548|PortSwigger reflected]], [[raw/portswigger.net/testing-for-stored-xss-with-burp-suite-2549|PortSwigger stored]]). 2. **Identify context and filtering.** Send canary characters (`kq9z'"<>`) and see which survive and how they're encoded. Raw `"` with encoded `<>` → attribute-only injection. At scale, `kxss` reports unfiltered chars per parameter. 3. **Craft the context-appropriate breakout** (table above). Confirm *execution*, not reflection. 4. **Trace client-side flows.** Use DOM Invader to taint sources and flag controllable sinks, including `postMessage`, DOM clobbering and prototype-pollution gadgets ([[DOM-Based XSS]]). Test fragment, `window.name`, cookie and storage sources. 5. **Spray blind probes.** Callback payloads (XSS Hunter Express, ezXSS) into fields consumed by staff tooling and into headers; wait days ([[Blind XSS]], [[Out-of-Band Detection]]). 6. **If blocked, characterize the filter** before throwing payloads: which token triggers the block; then step just outside it ([[XSS Filter Bypasses]]). If a sanitizer (DOMPurify) is in play, check version/config and go to [[Mutation XSS]]. 7. **If execution is blocked by CSP,** read the policy: `unsafe-inline`, wildcards, allowlisted JSONP/library hosts, upload-able allowlisted hosts, nonce reuse, policy injection, `form-action` gaps ([[Content Security Policy]]). 8. **Escalate and prove impact** (next section); write it up per [[Writing Bug Bounty Reports]]. **Checklist** - [ ] Every reflected parameter, path segment and header tested, including `redirect`/`RelayState`/error messages - [ ] Every stored field rendered in every surface (own, other users, admin, email, export, PDF) - [ ] Rich text / markdown: `javascript:` links, raw HTML, sanitizer version - [ ] Uploads: SVG and HTML with spoofed `Content-Type`; serving origin, `Content-Disposition`, `nosniff` - [ ] DOM: `location.hash`/`search`, `postMessage` handlers (origin check present? exact match or substring? which `event.data` fields reach which sink? fix behind a feature flag?), `window.name`, cookie-read sinks - [ ] AngularJS / template regions for `{{…}}` evaluation - [ ] Blind probes in contact/support forms, `User-Agent`, `Referer`, logged searches - [ ] CSP header and `<meta>` reviewed; Trusted Types present? - [ ] Session token location (`HttpOnly` cookie vs. `localStorage`) recorded for impact - [ ] Desktop/extension renderer? Check for Node/IPC reach ## Exploitation and escalation XSS rarely stands alone; impact comes from chaining it with adjacent weaknesses — open redirects, CSRF, weak CSP, token leakage via `postMessage`, admin functions, file upload ([[raw/microsoft.com/weaponizing-cross-site-scripting-when-one-bug-isn-t-enough-3111|Microsoft: Weaponizing XSS]]; [[Vulnerability Chaining]]). - **→ [[Account Takeover]].** Exfiltrate the session cookie or `localStorage` JWT; change email/password via same-origin API calls; abuse OAuth flows — Salt Labs paired OAuth "log in with" weaknesses with XSS against Hotjar and Business Insider ([[raw/darkreading.com/oauth-xss-attack-threatens-millions-of-web-users-with-account-takeover-5025|OAuth+XSS]]; [[OAuth 2.0 Vulnerabilities]]). GitHub Enterprise Server stored XSS was used to add an attacker SSH key to another user. - **→ Privilege escalation.** Plant a stored payload where an admin will look; perform admin actions in their session (Pretalx, The Events Calendar). - **→ RCE via the admin panel.** WordPress pre-auth reflected XSS CVE-2026-64638 ("XSS2Shell"): an admin who visits the page lets the script create application passwords and upload a plugin ([[raw/rescana.com/cve-2026-64638-critical-pre-auth-xss-vulnerability-in-wordpress-allows-11192|CVE-2026-64638]]). Arista NGFW: XSS (CVE-2025-6979) steals admin credentials, then command injection gives root ([[raw/bishopfox.com/arista-firewall-xss-to-rce-chain-3080|Bishop Fox]]). FortiSandbox reflected XSS CVE-2025-52436 rated as unauthenticated command execution. Magento 2.3.1 stored XSS → PHAR deserialization; PivotX CVE-2025-52367. - **→ RCE via privileged renderers.** Electron/desktop: Opera *My Flow*, MeshCentral, DbGate (CVE-2026-34725), Storybook dev server via WebSocket. Tauri v2 broken via chaining — "XSS is the new RCE" ([[raw/owaspglobalappsecusa2026.sched.com/owasp-global-appsec-usa-2026-xss-is-the-new-rce-how-we-broke-tauri-s-s-13544|OWASP AppSec USA 2026]]). VS Code Live Preview: a malicious site could enumerate and exfiltrate local files via the extension's local server (fixed 0.4.16). - **→ Server-side impact via renderers.** A low-severity reflected XSS became RCE when injected CSS made dompdf cache a "font" with a `.php` extension, later requested directly ([[raw/positive.security/from-xss-to-rce-dompdf-0day-8545|dompdf 0day]]). See [[SSRF in PDF and HTML Renderers]]. - **→ Universal XSS.** uBlock Origin (MV2 Firefox): a website drove the element picker into adding a *trusted* filter, whose scriptlets run JS on any site ([[raw/iter.ca/universal-xss-in-ublock-origin-from-website-driven-element-picker-14884|uBO UXSS]]). Claude Chrome extension "ShadowPrompt": a DOM XSS in a CAPTCHA component on an allowlisted `*.claude.ai` subdomain enabled zero-click prompt injection ([[raw/thehackernews.com/claude-extension-flaw-enabled-zero-click-xss-prompt-injection-via-any-2682|ShadowPrompt]]; [[Prompt Injection]]). - **Self-XSS → real XSS.** Uber: CSRF on OAuth login/logout plus CSP-controlled redirects logged the victim into the attacker's account (where the payload fires) and back out ([[raw/whitton.io/uber-bug-bounty-turning-self-xss-into-good-xss-jack-whitton-262|Whitton]]). Credentialless iframes let a self-XSS run alongside the victim's real session when the login form is CSRF-able or clickjackable ([[raw/blog.slonser.info/make-self-xss-great-again-11408|slonser]]). Stored XSS on a sibling host can toss cookies to force logout/login flows ([[raw/medium.com/from-stored-xss-to-forced-login-via-cookie-tossing-13545|cookie tossing]]; [[Session Management]]). - **Mass/propagating.** Cache poisoning turns a single injection into one served to everyone (PayPal $18.9k; Cloudflare `/cdn-cgi/image/`); stored XSS in a shared webshop component hit thousands of shops. - **No-script exfil.** Under `default-src 'none'`, an injected self-posting form still steals credentials if `form-action` is missing ([[Content Security Policy]]). ## Bypassing defenses - **WAFs / blocklists → [[XSS Filter Bypasses]].** Characterize the exact rule, then step out: Akamai blocked JS keywords adjacent to `(`, so `top["setTimeout"](name)` passed; tags blocked except custom ones → `<xss id=x onfocus=… tabindex=1>#x`; brute the permitted tag/attribute set; parentheses-free calls (``alert`1` ``, `throw onerror=eval,…`); entity/URL encoding; ASP.NET duplicate-parameter concatenation splitting a payload past the WAF (HPP; see [[Server-Side Parameter Pollution]]); polyglots that fire in many contexts. - **Fragment and side channels.** `#` payloads and `window.name` never hit the WAF ([[DOM-Based XSS]]). - **Post-sanitizer rewriting.** Code that modifies the string after DOMPurify returns voids the sanitization: Chess.com's extract-comments → sanitize → restore pipeline let a planted placeholder token receive raw markup inside an attribute ([[raw/xenops.ae/the-last-writer-wins-chess-com-account-takeover-via-postmessage-xss-15815|XENOPS]]; [[XSS Filter Bypasses]]). - **Client-side protection layers.** NoScript's regex XSS filter missed `div`-triggerable event handlers, and its Chromium `<meta>` CSP injection skipped SVG documents ([[raw/srlabs.de/srlabs-three-ways-around-noscript-s-javascript-protections-15817|SRLabs]]). - **Sanitizers → [[Mutation XSS]].** DOMPurify has a long bypass history (MathML/`<style>` comment mutation, nesting-depth flattening, `__depth` clobbering, XHTML-mode PI/CDATA differentials, dirty-namespace `data-` attrs, `<selectedcontent>`); each fix was re-broken. Double parsing — the page's own JS re-reads the raw URL after server sanitization — revives what the first pass removed. - **SVG sanitizers → [[SVG and File Upload XSS]].** Namespace-prefixed `x:script`/`x:onload` (Penpot CVE-2026-133704); svg-hush serialized namespace URIs unescaped (Cloudflare). - **Upload MIME checks.** Trusting the client `Content-Type` lets `xss.html` be stored as `image/png` and served as HTML. - **CSP → [[Content Security Policy]].** `unsafe-inline`/wildcards/`data:`; JSONP or AngularJS gadgets on allowlisted hosts (unless `strict-dynamic`); user-uploadable allowlisted hosts; predictable or reused nonces; reflected input inside the policy; URL-parser confusion returning a laxer policy for the same body (Netlify image CDN; [[URL Parser Differentials]]); script gadgets already in the app (PayPal: old Bootstrap, custom `youtube.js`). - **`HttpOnly` cookies** stop cookie reads, not same-origin requests — act in-session instead, or target tokens in `localStorage`/the DOM. ## Real-world cases - **Zimbra CVE-2025-66376** — stored XSS via CSS `@import` in email HTML; exploited by a Russian APT against Ukraine; CISA KEV ([[raw/bleepingcomputer.com/cisa-orders-feds-to-patch-zimbra-xss-flaw-exploited-in-attacks-2666|BleepingComputer]], [[raw/securityaffairs.com/russian-apt-targets-ukraine-via-zimbra-xss-flaw-cve-2025-66376-2669|Security Affairs]]). - **Zimbra CVE-2025-48700** — unauthenticated XSS, 10k+ exposed vulnerable servers, KEV ([[raw/bleepingcomputer.com/over-10000-zimbra-servers-vulnerable-to-ongoing-xss-attacks-7050|BleepingComputer]]). - **Exchange OWA CVE-2026-42897** — crafted email executes JS in OWA; exploited before a permanent fix ([[raw/helpnetsecurity.com/unpatched-microsoft-exchange-server-vulnerability-exploited-cve-2026-4-8037|Help Net Security]]). - **Canvas LMS (Instructure)** — ShinyHunters chained XSS bugs to admin sessions and defaced login portals ([[raw/bleepingcomputer.com/instructure-confirms-hackers-used-canvas-flaw-to-deface-portals-7859|BleepingComputer]]). - **OpenPLC ScadaBR CVE-2021-26829** — XSS in `system_settings.shtm`, exploited to deface HMI pages; KEV ([[raw/thehackernews.com/cisa-adds-actively-exploited-xss-bug-cve-2021-26829-in-openplc-scadabr-2434|THN]]). - **WordPress CVE-2026-64638** — pre-auth reflected XSS on the login page → plugin upload RCE ([[raw/rescana.com/cve-2026-64638-critical-pre-auth-xss-vulnerability-in-wordpress-allows-11192|Rescana]]). - **Arista NGFW CVE-2025-6979** — XSS → admin creds → root command injection; patch incomplete ([[raw/bishopfox.com/arista-firewall-xss-to-rce-chain-3080|Bishop Fox]]). - **FortiSandbox CVE-2025-52436** — reflected XSS leading to command execution (CVSS 7.9) ([[raw/esecurityplanet.com/fortisandbox-xss-vulnerability-allows-remote-command-execution-2583|eSecurity Planet]]). - **Siemens Teamcenter CVE-2026-58113** — reflected XSS in the login redirect, weaponized for credential harvesting ([[raw/bishopfox.com/submit-and-execute-weaponizing-reflected-xss-in-siemens-teamcenter-s-l-12267|Bishop Fox]]). - **PAN-OS GlobalProtect CVE-2025-0133** — reflected XSS on the gateway/portal ([[raw/security.paloaltonetworks.com/cve-2025-0133-pan-os-reflected-xss-in-globalprotect-gateway-4758|Palo Alto]]). - **Citrix NetScaler CVE-2025-12101** — reflected XSS in SAML `RelayState` ([[raw/labs.watchtowr.com/is-it-citrixbleed4-well-no-is-it-good-also-no-citrix-netscaler-memory-2347|watchTowr]]). - **DbGate CVE-2026-34725** — stored XSS → RCE in Electron ([[raw/advisories.gitlab.com/dbgate-stored-xss-to-rce-in-electron-cve-2026-34725-3075|advisory]]). - **Storybook dev server** — persistent XSS/RCE over WebSockets ([[raw/aikido.dev/persistent-xss-rce-using-websockets-in-storybooks-dev-server-2656|Aikido]]). - **Opera My Flow** — stored XSS → RCE in the browser ([[raw/medium.com/stored-xss-in-my-flow-to-rce-in-opera-browser-2-renwa-medium-5005|Renwa]]); **MeshCentral** XSS → RCE ([[raw/techanarchy.net/meshcentral-from-xss-to-rce-9182|techanarchy]]). - **VS Code Live Preview** (11M installs) — website-driven local file exfiltration ([[raw/ox.security/xss-in-live-preview-microsoft-vs-code-extension-with-11m-downloads-2558|OX Security]]). - **uBlock Origin** — one-click universal XSS via trusted filters ([[raw/iter.ca/universal-xss-in-ublock-origin-from-website-driven-element-picker-14884|iter.ca]]). - **Claude Chrome extension (ShadowPrompt)** — subdomain DOM XSS + loose origin allowlist → zero-click prompt injection ([[raw/thehackernews.com/claude-extension-flaw-enabled-zero-click-xss-prompt-injection-via-any-2682|THN]]). - **Magento 2.3.1** — unauthenticated stored XSS → PHAR RCE ([[raw/sonarsource.com/magento-2-3-1-unauthenticated-stored-xss-to-rce-3082|SonarSource]]); **PivotX CVE-2025-52367** ([[raw/medium.com/cve-2025-52367-stored-xss-to-rce-in-pivotx-cms-3083|writeup]]). - **dompdf** — reflected XSS + CSS font cache → RCE ([[raw/positive.security/from-xss-to-rce-dompdf-0day-8545|Positive Security]]). - **PayPal** — stored XSS via cache poisoning, $18.9k ([[raw/oxo.is/paypal-stored-xss-via-cache-poisoning-18-9k-13194|oxo.is]]); **GitLab** markdown DesignReferenceFilter, $16k ([[raw/oxo.is/gitlab-stored-xss-in-markdown-via-designreferencefilter-16k-13193|oxo.is]]). - **Cloudflare `/cdn-cgi/image/`** — svg-hush serialization bug + Chromium gadget ([[raw/slcyber.io/cache-me-if-you-can-xss-in-cloudflare-s-cdn-cgi-image-12412|SL Cyber]]). - **Netlify image CDN** — CSP bypass via URL-parser confusion → GitHub OAuth token theft ([[raw/sudhanshur705.medium.com/bypassing-csp-via-url-parser-confusions-xss-on-netlify-s-image-cdn-5023|writeup]]). - **GitHub Enterprise Server** — stored XSS used to add an SSH key to another user ([[raw/github.com/github-enterprise-server-stored-xss-15031|advisory]]). - **Pretalx CVE-2026-41241** / **The Events Calendar** — stored XSS for privilege escalation ([[raw/rescana.com/cve-2026-41241-critical-stored-xss-in-pretalx-conference-platform-allo-8323|Rescana]], [[raw/medium.com/from-contributor-to-administrator-stored-xss-in-the-events-calendar-14034|writeup]]). - **Facebook mobile** — $7,500 DOM XSS ([[raw/medium.com/7500-worth-dom-xss-in-facebook-mobile-site-johns-simon-medium-380|Johns Simon]]); **PayPal** DOM polyglot via DOM Invader ([[raw/portswigger.net/finding-dom-polyglot-xss-in-paypal-the-easy-way-4755|PortSwigger]]). - **StealC malware panel** — blind XSS used by researchers against the C2 operators ([[raw/rescana.com/critical-xss-vulnerability-in-stealc-malware-admin-panel-allows-resear-2543|Rescana]]). - **Uber partners portal** — self-XSS turned exploitable via login/logout CSRF ([[raw/whitton.io/uber-bug-bounty-turning-self-xss-into-good-xss-jack-whitton-262|Whitton]]). - **DOMPurify `SAFE_FOR_TEMPLATES` bypasses**: reparse-merged `{{…}}` expressions executed by Vue 3 and AngularJS ([[raw/github.com/dompurify-safe-for-templates-bypass-when-sanitized-output-is-reparsed-15624|GHSA-qm7q-q8h9-jg8q]]); a shadow-root variant in 3.4.8 ([[raw/orbisappsec.com/dompurify-3-4-8-safe-for-templates-bypass-via-shadow-root-content-15626|Orbis]]). See [[Mutation XSS]]. - **DOMPurify `<selectedcontent>` opt-in mXSS**: works on every version when the tag is allowed via `ADD_TAGS`; the maintainer won't fix it ([[raw/labs.trace37.com/selectedcontent-mxss-on-every-dompurify-version-15623|trace37]]). - **Admidio CVE-2026-134262**: stored XSS in role names steals the admin's CSRF token for privilege escalation ([[raw/github.com/admidio-critical-stored-xss-15625|advisory]]). - **SnapOtter GHSA-9c7h-xjrp-8gh3**: an SVG sanitizer skipped whenever the image decoder failed ([[raw/xaferima.com/snapotter-stored-xxe-ssrf-xss-via-svg-upload-sanitization-bypass-15628|report]]; [[SVG and File Upload XSS]]). - **Chess.com (2026)**: unauthenticated `postMessage` handler + DOMPurify placeholder-restore bypass → `innerHTML` in the logged-in origin → password set on OAuth-created accounts (ATO); closed as duplicate ([[raw/xenops.ae/the-last-writer-wins-chess-com-account-takeover-via-postmessage-xss-15815|XENOPS]]). - **postMessage → `eval` without origin check**: $600 on YesWeHack, rebuilt as a lab with an admin bot and a non-`HttpOnly` session cookie ([[raw/bblabs.es/dom-xss-via-postmessage-to-eval-lab-based-on-a-real-report-15814|bblabs]]). - **postMessage `hostname.includes()` origin bypass → `window.location.href`**: $250 on HackerOne ([[raw/medium.com/how-a-simple-postmessage-validation-flaw-led-to-dom-xss-15816|foorw1nner]]). - **NoScript (SRLabs audit for OTF)**: XSS-filter denylist gap, SVG CSP-injection gap on Chromium, dead TabGuard; fixed in 13.6.18.901 / Tor Browser 15.0.13 ([[raw/srlabs.de/srlabs-three-ways-around-noscript-s-javascript-protections-15817|SRLabs]]). - **Self-XSS → CSRF-delivered XSS**: a single-use CAPTCHA was beaten by building the PoC from a dropped request ([[raw/appsecwriteups.com/escalating-self-xss-by-chaining-csrf-and-analyzing-captcha-15627|writeup]]; [[Vulnerability Chaining]]). ## Prevention Primary control is **context-correct output handling at the sink**; everything else is a net ([[raw/owasp.org/xss-cross-site-scripting-prevention-cheat-sheet-owasp-275|OWASP]]; [[raw/ibm.com/cisa-and-fbi-release-secure-by-design-guidelines-on-cross-site-scripti-2683|CISA/FBI Secure by Design]]). 1. **Encode for the exact context** — HTML entity (body), attribute encoding (always quote attributes), JS `\xHH` (inside quoted JS strings only), CSS (inside property values only), URL `%HH` (in URL components). Don't hand-roll; use the framework's auto-escaping. 2. **Know the escape hatches.** Treat `dangerouslySetInnerHTML`, `v-html`, `bypassSecurityTrust*`, `.html()`, `|safe`/`raw` as security review triggers. Helpers can be wrong too (Rails `strip_tags`, Jinja2 `xmlattr`, vue-i18n) — patch them. 3. **Use safe DOM APIs** — `textContent`, `setAttribute` (non-URL attrs), `element.style.x =`; avoid `eval`, `Function`, string timers. Validate URL schemes (`https:`/`http:` allowlist) before assigning to `href`/`location`/`src`; this is the Django `URLField` and markdown `javascript:` lesson. For `postMessage` listeners: exact `event.origin` match against full origins, schema/type validation, an explicit field allowlist instead of `Object.assign` into state, and no message data to `eval`/`innerHTML`/`location` ([[DOM-Based XSS]]). 4. **Sanitize HTML you must accept** with a maintained allowlist sanitizer (DOMPurify), keep it updated, keep default parser mode, avoid sanitize → serialize → re-parse round trips ([[Mutation XSS]]), and make the sanitizer the last write before the sink ([[XSS Filter Bypasses]]). 5. **Trusted Types** (`require-trusted-types-for 'script'`) — structural fix that makes DOM sinks reject raw strings ([[DOM-Based XSS]]); `eslint-plugin-no-unsanitized` at build time ([[raw/blog.mozilla.org/finding-and-fixing-dom-based-xss-with-static-analysis-attack-defense-5064|Mozilla]]). 6. **Strict CSP** — nonce-based + `strict-dynamic`, no `unsafe-inline`/`unsafe-eval`, `object-src 'none'`, `base-uri 'none'`, explicit `form-action`; audit allowlists for JSONP/upload hosts ([[Content Security Policy]]). 7. **Isolate uploads** — separate cookieless origin, or `Content-Disposition: attachment` + `X-Content-Type-Options: nosniff`; validate by content, rasterize or sanitize SVG ([[SVG and File Upload XSS]]). 8. **Limit blast radius** — `HttpOnly`/`Secure`/`SameSite` session cookies; no bearer tokens in `localStorage`; re-auth for email/password/MFA changes; apply the same encoding to internal dashboards and log viewers ([[Blind XSS]]). 9. **Desktop renderers** — Electron `contextIsolation` on, `nodeIntegration` off, narrow preload/IPC surface ([[raw/deepstrike.io/penetration-testing-of-electron-based-applications-3073|Electron pentesting]]). 10. **WAFs are compensating controls**, not the fix ([[XSS Filter Bypasses]]). ## Tools | Tool | Use | |---|---| | Burp Suite (Repeater, Intruder) | Reflection/stored mapping; tag/attribute allowlist brute-forcing | | DOM Invader | Source→sink taint tracing, `postMessage`, clobbering, prototype-pollution gadgets ([[raw/portswigger.net/introducing-dom-invader-dom-xss-just-got-a-whole-lot-easier-to-find-7419|PortSwigger]]) | | XSS Hunter Express / ezXSS | Self-hosted blind XSS callbacks with DOM/cookie/screenshot capture | | XSStrike | Context-aware payload generation, fuzzing, WAF detection, reflected + DOM scanning ([[raw/github.com/ultimatehackers-xsstrike-xss-scanner-equipped-with-powerful-fuzzing-en-372|repo]]) | | kxss | Reports unfiltered `'` `"` `<` `>` per parameter for recon pipelines ([[raw/github.com/github-emoe-kxss-this-a-adaption-of-tomnomnom-s-kxss-tool-with-a-diffe-5020|repo]]) | | Nuclei (headless, `waitdialog`) | Detects actual execution via JS dialogs instead of reflection matchers ([[raw/blog.projectdiscovery.io/simplifying-xss-detection-with-nuclei-a-new-approach-5019|ProjectDiscovery]]) | | XSSTRON | Electron browser that flags XSS (incl. POST) while you browse ([[raw/github.com/renwax23-xsstron-electron-js-browser-to-find-xss-vulnerabilities-autom-313|repo]]) | | Google CSP Evaluator, CSPBypass | Policy auditing; known allowlisted-host gadget lookup | | PayloadsAllTheThings (XSS Injection) | Context-sorted payload reference: polyglots, filter/WAF bypasses, CSP bypasses ([[raw/github.com/payloadsallthethings-xss-injection-cheat-sheet-4173|GitHub]], [[raw/swisskyrepo.github.io/cross-site-scripting-payloads-all-the-things-5009|site]]) | | `eslint-plugin-no-unsanitized` | Flags dangerous sink assignments in CI | ## Sub-pages - [[Reflected XSS]] — request-echoed payloads, context breakouts, edge/SSO product CVEs. - [[Stored XSS]] — persisted payloads, non-obvious stored sinks, privilege escalation and XSS→RCE cases. - [[Blind XSS]] — payloads firing in unseen internal tools, callback infrastructure, injection surfaces. - [[DOM-Based XSS]] — client-side sources and sinks, DOM Invader, DOM clobbering, double parsing, `postMessage` handlers. - [[Mutation XSS]] — sanitizer bypasses via HTML re-parsing mutations; DOMPurify bypass history. - [[XSS Filter Bypasses]] — WAF/blocklist evasion: encoding, HPP, parentheses-free calls, polyglots. - [[SVG and File Upload XSS]] — uploaded SVG/HTML executing same-origin; SVG sanitizer bypasses. - [[Content Security Policy]] — CSP directives, common misconfigurations and bypasses, deployment guidance. **Related topics:** [[Account Takeover]] · [[Session Management]] · [[SameSite Cookies]] · [[OAuth 2.0 Vulnerabilities]] · [[Unrestricted File Upload]] · [[Server-Side Template Injection]] · [[JavaScript Template Engine SSTI]] · [[SSRF in PDF and HTML Renderers]] · [[Remote Code Execution]] · [[Privilege Escalation]] · [[Vulnerability Chaining]] · [[URL Parser Differentials]] · [[Server-Side Parameter Pollution]] · [[Out-of-Band Detection]] · [[Prompt Injection]] · [[Python Web Framework Security]] · [[Writing Bug Bounty Reports]] See also: [[Cross-Site Request Forgery]] · [[Prototype Pollution]] · [[CORS Misconfiguration]] ## Sources - [[raw/excess-xss.com/excess-xss-a-comprehensive-tutorial-on-cross-site-scripting-341|Excess XSS: A comprehensive tutorial]] - [[raw/en.wikipedia.org/cross-site-scripting-wikipedia-330|Cross-site scripting — Wikipedia]] - [[raw/owasp.org/xss-cross-site-scripting-prevention-cheat-sheet-owasp-275|OWASP XSS Prevention Cheat Sheet]] - [[raw/owasp.org/dom-based-xss-owasp-foundation-5033|OWASP — DOM Based XSS]] - [[raw/ibm.com/cisa-and-fbi-release-secure-by-design-guidelines-on-cross-site-scripti-2683|CISA and FBI Secure-by-Design guidelines on XSS]] - [[raw/dionach.com/the-real-impact-of-cross-site-scripting-dionach-348|The Real Impact of Cross-Site Scripting]] - [[raw/instatunnel.my/beyond-alert-1-real-xss-dangers-in-react-vue-spas-3095|Beyond alert(1): Real XSS Dangers in React & Vue SPAs]] - [[raw/thehackernews.com/why-react-didn-t-kill-xss-the-new-javascript-injection-playbook-3093|Why React Didn't Kill XSS]] - [[raw/microsoft.com/weaponizing-cross-site-scripting-when-one-bug-isn-t-enough-3111|Weaponizing Cross Site Scripting: When One Bug Isn't Enough]] - [[raw/blog.portswigger.net/portswigger-web-security-blog-xss-without-html-client-side-template-in-395|XSS without HTML: Client-Side Template Injection]] - [[raw/intigriti.com/reflected-xss-advanced-exploitation-guide-3110|Reflected XSS: Advanced Exploitation Guide]] - [[raw/portswigger.net/testing-for-reflected-xss-manually-with-burp-suite-2548|Testing for reflected XSS manually with Burp Suite]] - [[raw/bishopfox.com/submit-and-execute-weaponizing-reflected-xss-in-siemens-teamcenter-s-l-12267|Weaponizing Reflected XSS in Siemens Teamcenter (CVE-2026-58113)]] - [[raw/security.paloaltonetworks.com/cve-2025-0133-pan-os-reflected-xss-in-globalprotect-gateway-4758|CVE-2025-0133: PAN-OS Reflected XSS in GlobalProtect]] - [[raw/labs.watchtowr.com/is-it-citrixbleed4-well-no-is-it-good-also-no-citrix-netscaler-memory-2347|Citrix NetScaler RXSS CVE-2025-12101]] - [[raw/github.com/kubeflow-pipelines-reflected-xss-13881|Kubeflow Pipelines reflected XSS]] - [[raw/rescana.com/cve-2026-13536-reflected-xss-vulnerability-in-gotohttp-remote-access-p-9924|CVE-2026-13536: Reflected XSS in GotoHTTP]] - [[raw/medium.com/reflected-client-xss-at-amazon-com-354|Reflected Client XSS at Amazon.com]] - [[raw/portswigger.net/testing-for-stored-xss-with-burp-suite-2549|Testing for stored XSS with Burp Suite]] - [[raw/medium.com/from-contributor-to-administrator-stored-xss-in-the-events-calendar-14034|Contributor to Administrator: Stored XSS in The Events Calendar]] - [[raw/rescana.com/cve-2026-41241-critical-stored-xss-in-pretalx-conference-platform-allo-8323|Critical Stored XSS in Pretalx (CVE-2026-41241)]] - [[raw/sonarsource.com/magento-2-3-1-unauthenticated-stored-xss-to-rce-3082|Magento 2.3.1: Unauthenticated Stored XSS to RCE]] - [[raw/medium.com/cve-2025-52367-stored-xss-to-rce-in-pivotx-cms-3083|CVE-2025-52367: Stored XSS to RCE in PivotX CMS]] - [[raw/medium.com/stored-xss-in-my-flow-to-rce-in-opera-browser-2-renwa-medium-5005|Stored XSS in My Flow to RCE in Opera Browser]] - [[raw/techanarchy.net/meshcentral-from-xss-to-rce-9182|MeshCentral: From XSS to RCE]] - [[raw/advisories.gitlab.com/dbgate-stored-xss-to-rce-in-electron-cve-2026-34725-3075|DbGate Stored XSS to RCE in Electron (CVE-2026-34725)]] - [[raw/aikido.dev/persistent-xss-rce-using-websockets-in-storybooks-dev-server-2656|Persistent XSS/RCE using WebSockets in Storybook's dev server]] - [[raw/medium.com/the-renderer-that-trusted-its-own-output-stored-xss-through-a-markdown-13380|Stored XSS Through a Markdown Sanitization Gap]] - [[raw/medium.com/how-i-found-a-stored-xss-on-thousands-of-webshops-366|Stored XSS on thousands of webshops]] - [[raw/spyboy.blog/how-i-hacked-a-web-app-using-stored-xss-to-steal-sessions-3108|Stored XSS to Steal Sessions]] - [[raw/github.com/github-enterprise-server-stored-xss-15031|GitHub Enterprise Server stored XSS]] - [[raw/oxo.is/paypal-stored-xss-via-cache-poisoning-18-9k-13194|PayPal stored XSS via cache poisoning ($18.9k)]] - [[raw/oxo.is/gitlab-stored-xss-in-markdown-via-designreferencefilter-16k-13193|GitLab stored XSS in markdown via DesignReferenceFilter ($16k)]] - [[raw/github.com/cve-2025-66412-angular-stored-xss-via-svg-animation-and-mathml-attribu-4757|CVE-2025-66412: Angular Stored XSS via SVG Animation and MathML]] - [[raw/bugcrowd.com/the-guide-to-blind-xss-advanced-techniques-for-bug-bounty-hunters-3088|The Guide to Blind XSS]] - [[raw/intigriti.com/hunting-for-blind-xss-vulnerabilities-a-complete-guide-3087|Hunting for Blind XSS Vulnerabilities]] - [[raw/infosecwriteups.com/mastering-blind-xss-real-world-techniques-for-high-bounties-3086|Mastering Blind XSS]] - [[raw/blog.intigriti.com/hacker-tools-how-to-set-up-xsshunter-5060|How to set up XSSHunter]] - [[raw/github.com/mandatoryprogrammer-xsshunter-express-an-easy-to-setup-version-of-xss-2034|xsshunter-express]] - [[raw/github.com/ssl-ezxss-ezxss-is-an-easy-way-for-penetration-testers-and-bug-bounty-252|ezXSS]] - [[raw/rescana.com/critical-xss-vulnerability-in-stealc-malware-admin-panel-allows-resear-2543|XSS in StealC Malware Admin Panel]] - [[raw/portswigger.net/what-is-dom-based-xss-cross-site-scripting-tutorial-examples-web-secur-5032|What is DOM-based XSS? — PortSwigger]] - [[raw/portswigger.net/dom-based-vulnerabilities-web-security-academy-5051|DOM-based vulnerabilities — Web Security Academy]] - [[raw/medium.com/understanding-dom-based-xss-sources-and-sinks-5027|Understanding DOM-Based XSS: Sources and Sinks]] - [[raw/portswigger.net/introducing-dom-invader-dom-xss-just-got-a-whole-lot-easier-to-find-7419|Introducing DOM Invader]] - [[raw/portswigger.net/finding-dom-polyglot-xss-in-paypal-the-easy-way-4755|Finding DOM Polyglot XSS in PayPal]] - [[raw/herodevs.com/cve-2025-1647-bootstrap-3-xss-vulnerability-via-dom-clobbering-2949|CVE-2025-1647: Bootstrap 3 XSS via DOM Clobbering]] - [[raw/medium.com/site-dom-xss-using-cookie-injection-the-ai-hackers-are-coming-2952|Site-DOM XSS using Cookie Injection]] - [[raw/pepdep.com/let-the-page-do-it-reflected-dom-xss-via-double-parsing-13191|Reflected DOM XSS via double parsing]] - [[raw/medium.com/7500-worth-dom-xss-in-facebook-mobile-site-johns-simon-medium-380|$7500 DOM XSS in Facebook Mobile]] - [[raw/blog.mozilla.org/finding-and-fixing-dom-based-xss-with-static-analysis-attack-defense-5064|Finding and Fixing DOM-based XSS with Static Analysis]] - [[raw/aszx87410.github.io/beyond-xss-mutation-xss-explained-3070|Beyond XSS: Mutation XSS Explained]] - [[raw/portswigger.net/bypassing-dompurify-again-with-mutation-xss-3072|Bypassing DOMPurify Again with Mutation XSS]] - [[raw/mizu.re/exploring-the-dompurify-library-bypasses-and-fixes-4170|Exploring the DOMPurify Library: Bypasses and Fixes]] - [[raw/flatt.tech/bypassing-dompurify-with-good-old-xml-4169|Bypassing DOMPurify with Good Old XML]] - [[raw/blog.slonser.info/dom-purify-dirty-namespace-bypass-11407|DOMPurify — dirty namespace bypass]] - [[raw/slides.com/grehack-2024-playing-with-html-parsing-to-bypass-dompurify-on-default-5014|GreHack 2024 — bypassing DOMPurify on default config]] - [[raw/portswigger.net/achieving-the-impossible-xss-in-innerhtml-without-equals-15302|XSS in innerHTML without equals]] - [[raw/acunetix.com/xss-filter-evasion-how-attackers-bypass-xss-filters-3099|XSS Filter Evasion]] - [[raw/brutelogic.net/the-brute-art-of-bypass-unfiltered-edition-master-xss-filter-evasion-4999|The Brute Art of Bypass]] - [[raw/blog.ethiack.com/bypassing-wafs-for-fun-and-js-injection-with-parameter-pollution-3097|Bypassing WAFs with Parameter Pollution]] - [[raw/portswigger.net/bypassing-xss-filters-by-enumerating-permitted-tags-and-attributes-2539|Bypassing XSS filters by enumerating permitted tags/attributes]] - [[raw/portswigger.net/bypassing-signature-based-xss-filters-modifying-html-4612|Bypassing Signature-Based XSS Filters]] - [[raw/blog.ikaes.de/i-found-yet-another-way-to-invoke-javascript-functions-without-parenth-12225|Invoking JavaScript without parentheses]] - [[raw/github.com/unleashing-an-ultimate-xss-polyglot-0xsobky-hackvault-wiki-345|Unleashing an Ultimate XSS Polyglot]] - [[raw/infosecwriteups.com/chaining-a-dom-xss-sink-waf-bypass-cross-origin-smuggling-and-sdk-abus-10213|DOM XSS + WAF bypass + window.name → ATO]] - [[raw/medium.com/reflected-xss-into-html-context-with-all-tags-blocked-except-custom-on-13882|Reflected XSS, all tags blocked except custom]] - [[raw/intigriti.com/csp-bypasses-advanced-exploitation-guide-3079|CSP Bypasses: Advanced Exploitation Guide]] - [[raw/vaadata.com/content-security-policy-bypass-techniques-and-security-tips-3077|CSP Bypass Techniques and Security Tips]] - [[raw/blog.detectify.com/content-security-policy-csp-explained-including-common-bypasses-5066|CSP explained including common bypasses]] - [[raw/content-security-policy.com/csp-inline-scripts-5058|CSP Inline Scripts]] - [[raw/github.com/content-security-policy-bypass-techniques-collection-4171|CSP Bypass Techniques Collection]] - [[raw/portswigger.net/blind-trust-stealing-credentials-through-csp-14199|Blind trust: stealing credentials through CSP]] - [[raw/sudhanshur705.medium.com/bypassing-csp-via-url-parser-confusions-xss-on-netlify-s-image-cdn-5023|Bypassing CSP via URL Parser Confusions (Netlify)]] - [[raw/github.com/cspbypass-tool-to-bypass-content-security-policies-4172|CSPBypass tool]] - [[raw/msuliq.medium.com/rendering-user-supplied-svg-without-getting-burned-12603|Rendering User-Supplied SVG Without Getting Burned]] - [[raw/bblabs.es/stored-xss-via-svg-file-upload-lab-based-on-real-report-13381|Stored XSS via SVG file upload lab]] - [[raw/github.com/penpot-2-18-stored-xss-15480|Penpot 2.18 stored XSS (CVE-2026-133704)]] - [[raw/github.com/atomic-server-stored-xss-via-inline-uploads-15181|Atomic Server stored XSS via inline uploads]] - [[raw/slcyber.io/cache-me-if-you-can-xss-in-cloudflare-s-cdn-cgi-image-12412|Cache Me If You Can: XSS in Cloudflare's /cdn-cgi/image/]] - [[raw/portswigger.net/scalable-vector-grief-12398|Scalable Vector Grief]] - [[raw/infosecwriteups.com/sar-2-629-for-stored-xss-via-svg-image-leading-to-ato-10505|Stored XSS via SVG Image Leading to ATO]] - [[raw/positive.security/from-xss-to-rce-dompdf-0day-8545|From XSS to RCE (dompdf 0day)]] - [[raw/bleepingcomputer.com/cisa-orders-feds-to-patch-zimbra-xss-flaw-exploited-in-attacks-2666|CISA orders feds to patch Zimbra XSS flaw]] - [[raw/bleepingcomputer.com/over-10000-zimbra-servers-vulnerable-to-ongoing-xss-attacks-7050|Over 10000 Zimbra servers vulnerable to ongoing XSS attacks]] - [[raw/securityaffairs.com/russian-apt-targets-ukraine-via-zimbra-xss-flaw-cve-2025-66376-2669|Russian APT targets Ukraine via Zimbra XSS CVE-2025-66376]] - [[raw/helpnetsecurity.com/unpatched-microsoft-exchange-server-vulnerability-exploited-cve-2026-4-8037|Unpatched Exchange Server vulnerability exploited (CVE-2026-42897)]] - [[raw/bleepingcomputer.com/instructure-confirms-hackers-used-canvas-flaw-to-deface-portals-7859|Instructure confirms hackers used Canvas flaw to deface portals]] - [[raw/thehackernews.com/cisa-adds-actively-exploited-xss-bug-cve-2021-26829-in-openplc-scadabr-2434|CISA adds OpenPLC ScadaBR XSS CVE-2021-26829 to KEV]] - [[raw/rescana.com/cve-2026-64638-critical-pre-auth-xss-vulnerability-in-wordpress-allows-11192|CVE-2026-64638: Pre-Auth XSS in WordPress]] - [[raw/bishopfox.com/arista-firewall-xss-to-rce-chain-3080|Arista Firewall XSS to RCE Chain]] - [[raw/esecurityplanet.com/fortisandbox-xss-vulnerability-allows-remote-command-execution-2583|FortiSandbox XSS Allows Remote Command Execution]] - [[raw/owaspglobalappsecusa2026.sched.com/owasp-global-appsec-usa-2026-xss-is-the-new-rce-how-we-broke-tauri-s-s-13544|XSS is the new RCE: Tauri (OWASP AppSec USA 2026)]] - [[raw/ox.security/xss-in-live-preview-microsoft-vs-code-extension-with-11m-downloads-2558|XSS in Live Preview VS Code Extension]] - [[raw/deepstrike.io/penetration-testing-of-electron-based-applications-3073|Penetration Testing of Electron-based Applications]] - [[raw/iter.ca/universal-xss-in-ublock-origin-from-website-driven-element-picker-14884|Universal XSS in uBlock Origin]] - [[raw/thehackernews.com/claude-extension-flaw-enabled-zero-click-xss-prompt-injection-via-any-2682|Claude Extension Zero-Click XSS Prompt Injection]] - [[raw/darkreading.com/oauth-xss-attack-threatens-millions-of-web-users-with-account-takeover-5025|OAuth+XSS Attack Threatens Millions of Web Users]] - [[raw/whitton.io/uber-bug-bounty-turning-self-xss-into-good-xss-jack-whitton-262|Uber: Turning Self-XSS into Good-XSS]] - [[raw/blog.slonser.info/make-self-xss-great-again-11408|Make Self-XSS Great Again]] - [[raw/medium.com/from-stored-xss-to-forced-login-via-cookie-tossing-13545|From Stored XSS to Forced Login via Cookie Tossing]] - [[raw/github.com/rails-action-view-possible-xss-in-strip-tags-14347|Rails Action View: possible XSS in strip_tags]] - [[raw/snyk.io/understanding-and-mitigating-the-jinja2-xss-vulnerability-cve-2024-221-9611|Jinja2 XSS CVE-2024-22195]] - [[raw/security.snyk.io/cross-site-scripting-xss-in-vue-i18n-cve-2025-53892-3091|XSS in vue-i18n (CVE-2025-53892)]] - [[raw/syntetisk.tech/stored-xss-in-django-s-admin-via-an-unvalidated-urlfield-display-path-11099|Stored XSS in Django's admin via URLField (CVE-2026-15920)]] - [[raw/github.com/ultimatehackers-xsstrike-xss-scanner-equipped-with-powerful-fuzzing-en-372|XSStrike]] - [[raw/github.com/github-emoe-kxss-this-a-adaption-of-tomnomnom-s-kxss-tool-with-a-diffe-5020|kxss]] - [[raw/blog.projectdiscovery.io/simplifying-xss-detection-with-nuclei-a-new-approach-5019|Simplifying XSS Detection with Nuclei]] - [[raw/github.com/renwax23-xsstron-electron-js-browser-to-find-xss-vulnerabilities-autom-313|XSSTRON]] - [[raw/github.com/dompurify-safe-for-templates-bypass-when-sanitized-output-is-reparsed-15624|DOMPurify SAFE_FOR_TEMPLATES bypass when sanitized output is reparsed]] - [[raw/orbisappsec.com/dompurify-3-4-8-safe-for-templates-bypass-via-shadow-root-content-15626|DOMPurify 3.4.8 SAFE_FOR_TEMPLATES bypass via shadow root content]] - [[raw/labs.trace37.com/selectedcontent-mxss-on-every-dompurify-version-15623|selectedcontent mXSS on every DOMPurify version]] - [[raw/github.com/admidio-critical-stored-xss-15625|Admidio critical stored XSS]] - [[raw/xaferima.com/snapotter-stored-xxe-ssrf-xss-via-svg-upload-sanitization-bypass-15628|SnapOtter: stored XXE/SSRF/XSS via SVG upload sanitization bypass]] - [[raw/appsecwriteups.com/escalating-self-xss-by-chaining-csrf-and-analyzing-captcha-15627|Escalating self-XSS by chaining CSRF and analyzing CAPTCHA]] - [[raw/github.com/payloadsallthethings-xss-injection-cheat-sheet-4173|PayloadsAllTheThings: XSS Injection Cheat Sheet]] - [[raw/swisskyrepo.github.io/cross-site-scripting-payloads-all-the-things-5009|Cross Site Scripting - Payloads All The Things]] - [[raw/bblabs.es/dom-xss-via-postmessage-to-eval-lab-based-on-a-real-report-15814|DOM XSS via postMessage to eval: lab based on a real report]] - [[raw/medium.com/how-a-simple-postmessage-validation-flaw-led-to-dom-xss-15816|How a simple postMessage validation flaw led to DOM XSS]] - [[raw/srlabs.de/srlabs-three-ways-around-noscript-s-javascript-protections-15817|SRLabs: three ways around NoScript's JavaScript protections]] - [[raw/xenops.ae/the-last-writer-wins-chess-com-account-takeover-via-postmessage-xss-15815|The Last Writer Wins: Chess.com account takeover via postMessage XSS]]