CVE-2018-1000136 json
Electron Vulnerable to Code Execution by Re-Enabling Node.js Integration
published 8y ago modified 4mo ago also GHSA-8xwg-wv7v-4vqp , EUVD-2018-0178
- cvss
- 8.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.1%
- EPSS 5.1% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm electron 1.7.13, 1.8.4, 2.0.0-beta.5
- github.com/electron/electron@1a48ee2 commit
- github.com/electron/electron#12271 pull request
- github.com/electron/electron#12292 pull request
- github.com/electron/electron#12294 pull request
- electronjs.org/blog/webview-fix advisory
Is CVE-2018-1000136 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-1000136 updated cvss 8.1
electron: Improper handling of values in Webviews
-
Red Hat JBoss Developer Studio 11 Electron Electronnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
5.08% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- trustwave.com https://www.trustwave.com/Resources/SpiderLabs-Blog/CVE-2018-1000136---Electron-nodeIntegration-Bypass/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | electron | >=1.7.0, <1.7.13 >=1.8.0, <1.8.4 >=2.0.0-beta.1, <2.0.0-beta.5 |
1.7.13 1.8.4 2.0.0-beta.5 |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
electronjs.org
/blog/webview-fix
web, mitigation, patch, vendor-advisory
-
github.com
/electron/electron/pull/12271
web
-
github.com
/electron/electron/pull/12292
web
-
github.com
/electron/electron/pull/12294
web
-
github.com
/electron/electron/commit/1a48ee28276e6588dbf4e70e58d78e7bfdc57043
web
-
trustwave.com
/Resources/SpiderLabs-Blog/CVE-2018-1000136---Electron-nodeIntegration-Bypass/
exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-1000136
advisory
-
electronjs.org
/blog/webview-fix
web
-
github.com
/electron/electron
package
-
npmjs.com
/advisories/574
web
-
trustwave.com
/Resources/SpiderLabs-Blog/CVE-2018-1000136---Electron-nodeIntegration-Bypass
web
Sources
- CVE List CVE-2018-1000136
- GitHub Advisory GHSA-8xwg-wv7v-4vqp
- NVD CVE-2018-1000136
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.