CVE-2018-1000136
HIGH 8.1CVSS 3.0Electron Vulnerable to Code Execution by Re-Enabling Node.js Integration
Electron version 1.7 up to 1.7.12; 1.8 up to 1.8.3 and 2.0.0 up to 2.0.0-beta.3 contains an improper handling of values vulnerability in Webviews that can result in remote code execution. This attack appear to be exploitable via an app which allows execution of 3rd party code AND disallows node integration AND has not specified if webview is enabled/disabled. This vulnerability appears to have been fixed in 1.7.13, 1.8.4, 2.0.0-beta.4.
- Published
- 23 Mar 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-8xwg-wv7v-4vqp
- Sources
- NVDJSONOSV GHSA-8xwg-wv7v-4vqpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:* |
>= 1.7.0, <= 1.7.12 | |
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:* |
> 1.8.0, <= 1.8.3 | |
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:2.0.0:*:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:2.0.0:beta1:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:2.0.0:beta2:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:2.0.0:beta3:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:2.0.0:beta4:*:*:*:*:*:* |
= 2.0.0 | |
| OSV | npm | electron | >= 1.7.0, < 1.7.13 | 1.7.13 |
| OSV | npm | electron | >= 1.8.0, < 1.8.4 | 1.8.4 |
| OSV | npm | electron | >= 2.0.0-beta.1, < 2.0.0-beta.5 | 2.0.0-beta.5 |
References
- https://www.electronjs.org/blog/webview-fix · Mitigation, Patch, Vendor Advisory, WEB
- https://www.trustwave.com/Resources/SpiderLabs-Blog/CVE-2018-1000136---Electron-nodeIntegration-Bypass/ · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000136 · ADVISORY
- https://github.com/electron/electron/pull/12271 · WEB
- https://github.com/electron/electron/pull/12292 · WEB
- https://github.com/electron/electron/pull/12294 · WEB
- https://github.com/electron/electron/commit/1a48ee28276e6588dbf4e70e58d78e7bfdc57043 · WEB
- https://electronjs.org/blog/webview-fix · WEB
- https://github.com/electron/electron · PACKAGE
- https://www.npmjs.com/advisories/574 · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 23 Mar 2018)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 26 Mar 2018)