Fixed false positive (property assignment).

This commit is contained in:
hackademix 2019-10-21 23:17:18 +02:00
parent 440232d45c
commit c1b3922de1
1 changed files with 2 additions and 1 deletions

View File

@ -293,7 +293,8 @@ XSS.InjectionChecker = (async () => {
),
_maybeJSRx: new RegExp(
'(?:(?:\\[[^]+\\]|\\.\\D)(?:[^]*\\([^]*\\)|[^*]`[^]+`|[^=]*=[^=][^]*\\S)' +
'(?:(?:\\[[^]+\\]|\\.\\D)[^;&/\'"]*(?:/[^]*|)' +
'(?:\\([^]*\\)|[^]*`[^]+`|=[^=][^]*\\S)' +
// double function call
'|\\([^]*\\([^]*\\)' +
')|(?:^|\\W)(?:' + IC_EVAL_PATTERN +