Live threats

All CVEs / Electronjs

CVE-2018-1000118Electronjs Electron

High 8.8 No auth needed

Priority
68
CVSS 3.0
8.8
EPSS
2.4%
probability of exploitation in 30 days · percentile 85
Auth required
No
Published
Mar 7, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-78
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

Github Electron version Electron 1.8.2-beta.4 and earlier contains a Command Injection vulnerability in Protocol Handler that can result in command execute. This attack appear to be exploitable via the victim opening an electron protocol handler in their browser. This vulnerability appears to have been fixed in Electron 1.8.2-beta.5. This issue is due to an incomplete fix for CVE-2018-1000006, specifically the black list used was not case insensitive allowing an attacker to potentially bypass it.

Original NVD text.

What to do

  1. Apply the vendor's security update for Electron.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm electron < 1.8.2-beta5 1.8.2-beta5 npm install electron@1.8.2-beta5

Per OSV / GitHub Advisories (GHSA-fjqr-fx3f-g4rv). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
electronjselectron≤ 1.8.1
electronjselectron1.8.2
electronjselectron1.8.2
electronjselectron1.8.2
electronjselectron1.8.2

Official sources

References

Links published by the sources. Open them with care.