You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tainted flag is not propagated through RegExp.source() method:
var s = new StringTainted("foo"); // "foo" is the attack payload
s.tainted; // true
var re = new RegExp('/' + s + '/', 'g');
var src = re.source(); // "\/foo\/" - the attack payload inside
src.tainted; // false, should be true
Let me know if you consider this a valid case, I can add it to the tainttests/unit_tests.js