Skip to content

Commit 14e5162

Browse files
authored
Merge pull request #14419 from rvermeulen/rvermeulen/javascript-adjust-security-severity
JavaScript: Adjust XSS and log injection query severities
2 parents 57f1f5b + 52540b4 commit 14e5162

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

javascript/ql/src/Security/CWE-079/ReflectedXss.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* a cross-site scripting vulnerability.
55
* @kind path-problem
66
* @problem.severity error
7-
* @security-severity 6.1
7+
* @security-severity 7.8
88
* @precision high
99
* @id js/reflected-xss
1010
* @tags security

javascript/ql/src/Security/CWE-079/StoredXss.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* a stored cross-site scripting vulnerability.
55
* @kind path-problem
66
* @problem.severity error
7-
* @security-severity 6.1
7+
* @security-severity 7.8
88
* @precision high
99
* @id js/stored-xss
1010
* @tags security

javascript/ql/src/Security/CWE-079/Xss.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* a cross-site scripting vulnerability.
55
* @kind path-problem
66
* @problem.severity error
7-
* @security-severity 6.1
7+
* @security-severity 7.8
88
* @precision high
99
* @id js/xss
1010
* @tags security

javascript/ql/src/Security/CWE-117/LogInjection.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* insertion of forged log entries by a malicious user.
55
* @kind path-problem
66
* @problem.severity error
7-
* @security-severity 7.8
7+
* @security-severity 6.1
88
* @precision medium
99
* @id js/log-injection
1010
* @tags security
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
category: queryMetadata
3+
---
4+
5+
* Lower the severity of log-injection to medium.
6+
* Increase the severity of XSS to high.

0 commit comments

Comments
 (0)