CVE-2018-15685
mediumpriority · attend · 46OT risk · highEPSS 0.104 · 96 %ileexploit · functionalEURUUSEPSS · scored 2026-10-22
GitHub Electron 1.7.15, 1.8.7, 2.0.7, and 3.0.0-beta.6, in certain scenarios involving IFRAME elements and "nativeWindowOpen: true" or "sandbox: true" options, is affected by a WebPreferences vulnerability that can be leveraged to perform remote code execution.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 6.8–10
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
- EDB-45272Electron WebPreferences - Remote Code Executionfunctional · exploit_db
affected products (13)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-hv9c-qwqg-qj3vElectron webPreferences vulnerability can be used to perform remote code execution2018-08-23ghsa · osvUS
GitHub Electron 1.7.15, 1.8.7, 2.0.7, and 3.0.0-beta.6, in certain scenarios involving IFRAME elements and "nativeWindowOpen: true" or "sandbox: true" options, is affected by a webPreferences vulnerability that can be leveraged to perform remote code execution. More information to determine if you are impacted can be found on the [electron blog](https://electronjs.org/blog/web-preferences-fix). ## Recommendation Upgrade Electron to >=3.0.0-beta.7, >=2.0.8, >=1.8.8, or >=1.7.16.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://electronjs.org/blog/web-preferences-fixcnnvd
- https://www.exploit-db.com/exploits/45272/cnnvd
- https://electronjs.org/blog/web-preferences-fixenisa_euvd
- https://www.exploit-db.com/exploits/45272/enisa_euvd
- https://electronjs.org/blog/web-preferences-fixMitigationVendor Advisorynvd
- https://www.exploit-db.com/exploits/45272/ExploitThird Party AdvisoryVDB Entrynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan