# CVE-2018-1000136: Electron Node.js integration re-enablement code execution

Source: https://junglewise.ai/threats/cve-2018-1000136-electron-node-js-integration-re-enablement-code-execution  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2018-03-26. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2018-1000136 · Severity: low · CVSS 3 · Published 2018-03-26

Electron is a framework used to build desktop applications using web technologies. This vulnerability allows an attacker to re-enable Node.js integration in Electron applications that explicitly disabled it for security purposes, enabling arbitrary code execution on the user's system. The attack requires the application to allow remote code execution and not enforce additional security controls.

Technologies: [electron (npm)](https://junglewise.ai/threats/technologies/electron). Vendors: [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2018-1000136 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2018-1000136 being exploited in the wild.

**How severe is CVE-2018-1000136?** Low severity, with a CVSS score of 3, published 26 March 2018.

**Which products and versions are affected?** electron (npm) SEMVER:introduced=1.7.0,fixed=1.7.13.

**Is there a fix for CVE-2018-1000136?** Yes. electron (npm): upgrade to 1.7.13 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2018-1000136 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2018-1000136?** Check whether you run electron (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- electron (npm): upgrade to 1.7.13 or later

  ```sh
  npm install electron@1.7.13
  ```


## Technical details

This is an input validation (CWE-20) vulnerability in Electron's webview handling. Applications running vulnerable versions of Electron (1.7 through 1.8.x and 2.0.0-beta versions before beta.5) that disabled Node.js integration could have it re-enabled via improper handling of new-window events and webview tag preferences. An attacker can create a new window or webview with Node.js integration explicitly set in the options, bypassing the application's intended security policy. No authentication or special privileges are required; exploitation depends on the application accepting remote untrusted content. Fixed in Electron 1.7.13, 1.8.4, and 2.0.0-beta.5 or later.

## Affected products

- OpenJS Foundation Electron 1.7.0 through 1.7.12, 1.8.0 through 1.8.3, 2.0.0-beta.1 through 2.0.0-beta.4

## Identifiers

- CVE-2018-1000136
- GHSA-8xwg-wv7v-4vqp

## Timeline

- 2018-03-26: disclosed
- 2018-03-26: patched: Fixed in versions 1.7.13, 1.8.4, and 2.0.0-beta.5

## References

- [https://github.com/electron/electron/pull/12271](https://github.com/electron/electron/pull/12271)

## Related threats

- [Electron certificate blocklist bypass in Node.js TLS](https://junglewise.ai/threats/cve-2026-115570-electron-is-a-framework-for-writing-cross-platform-desktop)
- [Electron: Off-screen rendering on macOS trusts GPU-supplied frame geometry](https://junglewise.ai/threats/cve-2026-114124-electron-is-a-framework-for-writing-cross-platform-desktop)
- [Electron: Frame subscription trusts GPU-supplied frame geometry](https://junglewise.ai/threats/cve-2026-114122-electron-is-a-framework-for-writing-cross-platform-desktop)
- [Electron external protocol permission misattribution](https://junglewise.ai/threats/cve-2026-114121-electron-is-a-framework-for-writing-cross-platform-desktop)
- [Electron HID/USB permission checks origin spoofing in iframes](https://junglewise.ai/threats/cve-2026-113800-electron-hid-and-usb-permission-checks-can-be-attributed-to-the)
