HTML elements that are self closing or different text content

Firefox logo 15
Safari logo 15
Chrome logo 15

This shows which elements are self closing or different text content

Created by: hackvertor

Created on: Friday, April 19, 2024 at 11:50:54 AM

Updated on: Wednesday, October 2, 2024 at 5:06:42 PM

Vector type: XSS

Template used:
<$[data1] id=x>test</$[data1]>
Code used after fuzz:
if(document.getElementById('x').textContent !== 'test') {
   log('$[data1]');
}
Your browser was detected as:
Detecting... Detecting... Detecting... Detecting...

Sample payloads

<area id=x>test</area>
<base id=x>test</base>
<br id=x>test</br>
<embed id=x>test</embed>
<hr id=x>test</hr>
<img id=x>test</img>
<input id=x>test</input>
<link id=x>test</link>
<meta id=x>test</meta>
<param id=x>test</param>
<source id=x>test</source>
<table id=x>test</table>
<template id=x>test</template>
<track id=x>test</track>
<wbr id=x>test</wbr>

Fuzz results

Firefox logo
Firefox 125.0 Unknown Unknown

Updated

Fri Apr 19 2024
Found 15 results
Data
area
Data
base
Data
br
Data
embed
Data
hr
Data
img
Data
input
Data
link
Data
meta
Data
param
Data
source
Data
table
Data
template
Data
track
Data
wbr
Safari logo
Safari 17.4 Unknown Unknown

Updated

Fri Apr 19 2024
Found 15 results
Data
area
Data
base
Data
br
Data
embed
Data
hr
Data
img
Data
input
Data
link
Data
meta
Data
param
Data
source
Data
table
Data
template
Data
track
Data
wbr
Chrome logo
Chrome 124.0.0.0 Unknown Unknown

Updated

Wed Apr 24 2024
Found 15 results
Data
area
Data
base
Data
br
Data
embed
Data
hr
Data
img
Data
input
Data
link
Data
meta
Data
param
Data
source
Data
table
Data
template
Data
track
Data
wbr
Safari logo
Safari 17.5 mobile iOS 17.5.1

Updated

Sat Jun 08 2024
Found 15 results
Data
area
Data
base
Data
br
Data
embed
Data
hr
Data
img
Data
input
Data
link
Data
meta
Data
param
Data
source
Data
table
Data
template
Data
track
Data
wbr