Skip to content

Commit 6778f28

Browse files
authored
Merge pull request #1854 from asger-semmle/prototype-pollution-precision
Approved by esben-semmle, xiemaisi
2 parents e4d59c3 + c71a66a commit 6778f28

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

change-notes/1.23/analysis-javascript.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
| **Query** | **Expected impact** | **Change** |
1919
|--------------------------------|------------------------------|---------------------------------------------------------------------------|
2020
| Client-side cross-site scripting (`js/xss`) | More results | More potential vulnerabilities involving functions that manipulate DOM attributes are now recognized. |
21+
| Prototype pollution (`js/prototype-pollution`) | Same results | The results are now shown on LGTM by default. |
2122

2223
## Changes to QL libraries
2324

javascript/ql/src/Security/CWE-400/PrototypePollution.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
* @description Recursively merging a user-controlled object into another object
44
* can allow an attacker to modify the built-in Object prototype.
55
* @kind path-problem
6-
* @problem.severity warning
7-
* @precision medium
6+
* @problem.severity error
7+
* @precision high
88
* @id js/prototype-pollution
99
* @tags security
1010
* external/cwe/cwe-250

0 commit comments

Comments
 (0)