HTML entities before JavaScript URL
2
Shows which HTML entities are allowed before the JavaScript protocol
Created by: hackvertor
Created on: Tuesday, June 25, 2024 at 4:42:13 PM
Updated on: Monday, October 21, 2024 at 4:17:25 AM
Vector type: JS
Code used before fuzz:
const div = document.createElement('div');
Template used:
div.innerHTML='<a href="$[data1]javascript:">test</a>';
div.querySelector('a').protocol === 'javascript:' && log('$[data1]')
Your browser was detected as:
Detecting... Detecting... Detecting... Detecting...
Sample payloads
div.innerHTML='<a href="	javascript:">test</a>';
div.querySelector('a').protocol === 'javascript:' && alert('	')
div.innerHTML='<a href="
javascript:">test</a>';
div.querySelector('a').protocol === 'javascript:' && alert('
')
Fuzz results
Safari 17.5 mobile iOS 17.5.1
Updated
Tue Jun 25 2024
Found 2 results
Data |
---|

 |
Data |
---|
	 |