Wiz Agents & Workflows are here

CVE-2020-15362
JavaScript vulnerability analysis and mitigation

Overview

wifiscanner.js in thingsSDK WiFi Scanner 1.0.1 contains a code injection vulnerability (CVE-2020-15362) that allows attackers to execute arbitrary code. The vulnerability exists because the module can be used with options to overwrite the default executable/binary path and its arguments without proper input sanitization (GitHub Issue).

Technical details

The vulnerability exists in the wifiscanner.js file where the command property concatenates binaryPath and args options without any sanitization before passing to childProcess.exec(). The CVSS v3.1 base score is 9.8 CRITICAL (Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H). The vulnerability is classified as CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (NVD).

Impact

Successful exploitation of this vulnerability allows attackers to execute arbitrary code on the affected system. This could lead to complete system compromise, including the ability to read, modify, or delete data, create new accounts, and execute malicious programs (GitHub Issue).

Mitigation and workarounds

Users must ensure appropriate sanitization of user inputs before passing them to the module. At minimum, any user input that could affect the binaryPath or args options should be properly validated and sanitized. Additionally, users should consider implementing input validation at the application level to restrict the allowed values for these parameters (GitHub Issue).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-34156CRITICAL9.9
  • JavaScriptJavaScript
  • @nocobase/plugin-workflow-javascript
NoYesMar 30, 2026
CVE-2026-34363HIGH8.2
  • JavaScriptJavaScript
  • parse-server
NoYesMar 30, 2026
CVE-2026-33949HIGH8.1
  • JavaScriptJavaScript
  • @tinacms/graphql
NoYesMar 30, 2026
CVE-2026-34043MEDIUM5.9
  • JavaScriptJavaScript
  • serialize-javascript
NoYesMar 31, 2026
CVE-2026-34373MEDIUM5.3
  • JavaScriptJavaScript
  • parse-server
NoYesMar 30, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management