Characters allowed before event in attribute name using setAttribute

Chrome logo 1
Firefox logo 1
Safari logo 1

This vector shows which characters are allowed before an event name when using setAttribute.

Created by: hackvertor

Created on: Wednesday, August 21, 2024 at 11:46:45 AM

Updated on: Thursday, November 21, 2024 at 7:58:18 AM

Vector type: JS

Vector charset: UTF-8

Template used:
let img = document.createElement('img');
img.src = 'data:';
img.setAttribute('$[chr]onerror','log($[i])')
document.body.append(img);
Your browser was detected as:
Detecting... Detecting... Detecting... Detecting...

Sample payloads

let img = document.createElement('img');
img.src = 'data:';
img.setAttribute('\onerror','alert(92)')
document.body.append(img);

Fuzz results

Chrome logo
Chrome 127.0.0.0 desktop macOS 10.15.7

Updated

Wed Aug 21 2024
Found 1 result
Loading...
Firefox logo
Firefox 129.0 desktop macOS 10.15

Updated

Wed Aug 21 2024
Found 1 result
Loading...
Safari logo
Safari 18.0 desktop macOS 10.15.7

Updated

Wed Aug 21 2024
Found 1 result
Loading...
Chrome logo
Chrome 128.0.0.0 desktop Windows NT 10.0

Updated

Tue Sep 17 2024
Found 1 result
Loading...