Characters that can break out of an inline style with double quotes
1
Characters that can break out of an inline style with double quotes
Created by: 0xdef1ant
Created on: Saturday, July 13, 2024 at 7:33:48 PM
Updated on: Wednesday, December 11, 2024 at 8:38:37 PM
Vector type: XSS
Vector charset: UTF-8
Template used:
<div id="test" style="$[chr]onload="alert(1)">hello</div>
Code used after fuzz:
let a = document.getElementById("test");
if (typeof a.onload === 'function') {
log(String.fromCharCode($[i]))
}
Your browser was detected as:
Detecting... Detecting... Detecting... Detecting...
Sample payloads
<div id="test" style="