ToUpperCase Improper Character Morphing

Chrome logo 6
Firefox logo 6

Checks for any special characters which are converted to something else when uppercased.

Created by: IDKdir

Created on: Saturday, July 13, 2024 at 9:47:15 PM

Updated on: Thursday, December 5, 2024 at 11:39:46 PM

Vector type: JS

Vector charset: UTF-8

Template used:
var targets=['"','\'','<','/','>','\\']
if (targets.includes('$[chr]'.toUpperCase())) {
    log($[i]+' (normal) ($[chr] -> '+"$[chr]".toUpperCase()+')')
}

if (targets.includes('$[chr]'.toLocaleUpperCase())) {
    log($[i]+' (locale) ($[chr] -> '+"$[chr]".toLocaleUpperCase()+')')
}
Your browser was detected as:
Detecting... Detecting... Detecting... Detecting...

Sample payloads

var targets=['"','\'','<','/','>','\\']
if (targets.includes(''.toUpperCase())) {
    alert(0+' (normal) ( -> '+"".toUpperCase()+')')
}

if (targets.includes(''.toLocaleUpperCase())) {
    alert(0+' (locale) ( -> '+"".toLocaleUpperCase()+')')
}

Fuzz results

Chrome logo
Chrome 126.0.0.0 desktop Windows NT 10.0

Updated

Sat Jul 13 2024
Found 6 results
Loading...
Firefox logo
Firefox 128.0 desktop Windows NT 10.0

Updated

Sat Jul 13 2024
Found 6 results
Loading...