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
"Code injection","Interpreting unsanitized user input as code allows a malicious user arbitrary code execution.","error","This code execution depends on a [[""user-provided value""|""relative:///test.js:5:12:5:31""]].","/test.js","3","14","3","29"
This is a known limitation in the analysis at the moment. It occurs when a global access path is assigned in multiple files, or as in this case, a global access path assignment clashes with a built-in function.
The thing is, if I have this code:
CodeQL reported an alert:
But if I separate the file saying:
./lib1.js
:./main.js
I can't get that alert anymore. Why did that happen?
I was using codeql and query pack version release 2.20.4.
The text was updated successfully, but these errors were encountered: