Cross-site Scripting · payload topic
CSS Injection
9 passages · 12 code blocks
Every mark is a titled passage of this topic's pages, in reading order; the brighter ones carry code. For testing systems you own or are authorised to test, and for defending them. Nothing here is run by this page.
Open CSS Injection on GitHubCSS Injection is a vulnerability that occurs when an application allows untrusted CSS to be injected into a web page. This can be exploited to exfiltrate sensitive data, such as CSRF tokens or other secrets, by manipulating the page layout or triggering network requests based on element attributes.
Source: PayloadsAllTheThings. From PayloadsAllTheThings by Swissky and contributors. MIT License, Copyright (c) 2019 Swissky.
Every one of the 9 is a mark on the map. Named now: 1 to 9, reading order first.
- CSS Injection
- CSS Selectors
- Exfiltration via Background Image
- CSS Import at-rule
- Sequential Import Chaining (SIC)
- Inline Style Exfiltration
- CSS Font-face at-rule
- Attribute Extraction via attr()
- Ligatures
Zoom in on the map and the dots under the middle of it are named where they are.
Data as of 2026-11-14. CVE List through 2026-11-14 · EPSS of 2026-11-14 · CISA KEV checked 2026-11-14. Source: PayloadsAllTheThings by Swissky and contributors, MIT License. For authorised testing only. Use this via MCP