Update xss-serialize-javascript.yaml
parent
d4f2312cc5
commit
5a98340f2b
|
@ -14,13 +14,13 @@ file:
|
|||
matchers:
|
||||
- type: regex
|
||||
regex:
|
||||
- "\\$S = require\\('serialize-javascript'\\)"
|
||||
- "\\$S\\(..., {unsafe: true}\\)"
|
||||
- "require\\('serialize-javascript'\\)"
|
||||
- "\\\$S\(\.\*?, \\{unsafe: true\\}\)"
|
||||
condition: or
|
||||
|
||||
- type: regex
|
||||
negative: true
|
||||
regex:
|
||||
- "escape\\(...\\)"
|
||||
- "encodeURI\\(...\\)"
|
||||
- "escape\\(.*?\\)"
|
||||
- "encodeURI\\(.*?\\)"
|
||||
condition: or
|
||||
|
|
Loading…
Reference in New Issue