JS: protyte poluting now treats unknownFlags as potentially good sanitization.

This commit is contained in:
Napalys
2024-11-26 11:32:15 +01:00
parent 41fef0f2b3
commit faef9dd877
3 changed files with 2 additions and 12 deletions

View File

@@ -46,7 +46,7 @@ class Configuration extends TaintTracking::Configuration {
// Replacing with "_" is likely to be exploitable
not replace.getRawReplacement().getStringValue() = "_" and
(
replace.isGlobal()
replace.maybeGlobal()
or
// Non-global replace with a non-empty string can also prevent __proto__ by
// inserting a chunk of text that doesn't fit anywhere in __proto__