mirror of
https://github.com/github/codeql.git
synced 2025-12-22 19:56:32 +01:00
Add security-severity metadata
This commit is contained in:
@@ -3,9 +3,11 @@
|
||||
* @description Enabling allowRunningInsecureContent can allow remote code execution.
|
||||
* @kind problem
|
||||
* @problem.severity error
|
||||
* @security-severity 5.9
|
||||
* @precision very-high
|
||||
* @tags security
|
||||
* frameworks/electron
|
||||
* external/cwe/cwe-494
|
||||
* @id js/enabling-electron-insecure-content
|
||||
*/
|
||||
|
||||
|
||||
@@ -3,9 +3,11 @@
|
||||
* @description Disabling webSecurity can cause critical security vulnerabilities.
|
||||
* @kind problem
|
||||
* @problem.severity error
|
||||
* @security-severity 2.9
|
||||
* @precision very-high
|
||||
* @tags security
|
||||
* frameworks/electron
|
||||
* external/cwe/cwe-79
|
||||
* @id js/disabling-electron-websecurity
|
||||
*/
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
* @description Enabling `nodeIntegration` or `nodeIntegrationInWorker` can expose the application to remote code execution.
|
||||
* @kind problem
|
||||
* @problem.severity warning
|
||||
* @security-severity 10.0
|
||||
* @precision low
|
||||
* @id js/enabling-electron-renderer-node-integration
|
||||
* @tags security
|
||||
|
||||
Reference in New Issue
Block a user