Merge pull request #1854 from asger-semmle/prototype-pollution-precision

Approved by esben-semmle, xiemaisi
This commit is contained in:
semmle-qlci
2019-09-03 10:50:24 +01:00
committed by GitHub
2 changed files with 3 additions and 2 deletions

View File

@@ -18,6 +18,7 @@
| **Query** | **Expected impact** | **Change** |
|--------------------------------|------------------------------|---------------------------------------------------------------------------|
| Client-side cross-site scripting (`js/xss`) | More results | More potential vulnerabilities involving functions that manipulate DOM attributes are now recognized. |
| Prototype pollution (`js/prototype-pollution`) | Same results | The results are now shown on LGTM by default. |
## Changes to QL libraries

View File

@@ -3,8 +3,8 @@
* @description Recursively merging a user-controlled object into another object
* can allow an attacker to modify the built-in Object prototype.
* @kind path-problem
* @problem.severity warning
* @precision medium
* @problem.severity error
* @precision high
* @id js/prototype-pollution
* @tags security
* external/cwe/cwe-250