Entities allowed inside host

This vector shows which entities are ignored inside the host name.

Created by: hackvertor

Created on: 7/6/2024, 1:45:38 PM

Updated on: 7/14/2024, 7:47:02 PM

Vector type: JS

Code used before fuzz:
const div = document.createElement('div')
Template used:
div.innerHTML='<a href="//exam$[data1]ple.com">';
if(div.querySelector('a').host === 'example.com') {
   log('$[data1]');
}
Your browser was detected as:
Detecting... Detecting... Detecting... Detecting...

Sample payloads

div.innerHTML='<a href="//exam&NegativeMediumSpace;ple.com">';
if(div.querySelector('a').host === 'example.com') {
   alert('&NegativeMediumSpace;');
}
div.innerHTML='<a href="//exam&NegativeThickSpace;ple.com">';
if(div.querySelector('a').host === 'example.com') {
   alert('&NegativeThickSpace;');
}
div.innerHTML='<a href="//exam&NegativeThinSpace;ple.com">';
if(div.querySelector('a').host === 'example.com') {
   alert('&NegativeThinSpace;');
}
div.innerHTML='<a href="//exam&NegativeVeryThinSpace;ple.com">';
if(div.querySelector('a').host === 'example.com') {
   alert('&NegativeVeryThinSpace;');
}
div.innerHTML='<a href="//exam&NewLine;ple.com">';
if(div.querySelector('a').host === 'example.com') {
   alert('&NewLine;');
}
div.innerHTML='<a href="//exam&NoBreak;ple.com">';
if(div.querySelector('a').host === 'example.com') {
   alert('&NoBreak;');
}
div.innerHTML='<a href="//exam&shy;ple.com">';
if(div.querySelector('a').host === 'example.com') {
   alert('&shy;');
}
div.innerHTML='<a href="//exam&Tab;ple.com">';
if(div.querySelector('a').host === 'example.com') {
   alert('&Tab;');
}
div.innerHTML='<a href="//exam&ZeroWidthSpace;ple.com">';
if(div.querySelector('a').host === 'example.com') {
   alert('&ZeroWidthSpace;');
}

Fuzz results

Safari logo
Safari 17.5 mobile iOS 17.5.1
Found 9 results
Data
&NegativeMediumSpace;
Data
&NegativeThickSpace;
Data
&NegativeThinSpace;
Data
&NegativeVeryThinSpace;
Data
&NewLine;
Data
&NoBreak;
Data
&shy;
Data
&Tab;
Data
&ZeroWidthSpace;