React DOM src

Tests

Created by: IDKdir

Created on: Monday, July 15, 2024 at 11:11:41 PM

Updated on: Tuesday, August 6, 2024 at 3:29:45 PM

Vector type: JS

Code used before fuzz:
var element=document.createElement('img'),document.appendChild(element),S={};function w(a,b,c,d,e,f,g){return{acceptsBooleans:b===2||b===3||b===4,attributeName:a,attributeNamespace:e,mustUseProperty:c,propertyName:d,type:b,sanitizeURL:f,removeEmptyString:g}}["src","href","action","formAction"].forEach(function(e){S[e]=w(e,1,false,e.toLowerCase(),null,true,true)});function sanitizeAttribute(a,b,c){var d=S[b];d&&d.sanitizeURL?/^(https?|ftp|mailto|data):/.test(c)?a.setAttribute(b,c):console.log(`Blocked: ${c}`):a.setAttribute(b,c)}sanitizeAttribute('src','$[chr]><iframe><!--');
Template used:
//
Code used after fuzz:
if (document.querySelector('iframe')) {
    log($[chr])
}
Your browser was detected as:
Detecting... Detecting... Detecting... Detecting...

Fuzz results

No results found.