High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-15685
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 05:34 UTC · Revision 1
Source evidence
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.
osv:CVE-2018-15685
Complete source record
{
"id": "1134a0c395df2a5c89457215d3ba5bf32ff86954a907fe5145558f64b77a74b3",
"url": "https://osv.dev/vulnerability/CVE-2018-15685",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-15685",
"summary": "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.",
"evidence": "osv:CVE-2018-15685",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2018-15685",
"aliases": [
"CVE-2018-15685",
"GHSA-hv9c-qwqg-qj3v"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/electron/electron",
"type": "GIT",
"events": [
{
"introduced": "9c466846edb243dc56899e62d04b0af46d88dc77"
},
{
"last_affected": "5f372f7ecccffb11ba76bcebe4f6b233d7548388"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:electronjs:electron:1.7.15:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.7.15"
},
{
"last_affected": "1.7.15"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:electronjs:electron:1.8.7:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.8.7"
},
{
"last_affected": "1.8.7"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:electronjs:electron:2.0.7:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.7"
},
{
"last_affected": "2.0.7"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"1.7.15",
"1.8.7",
"2.0.7"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-15685.json"
}
}
],
"modified": "2026-10-24T10:30:30.497688913Z",
"provider": "osv",
"references": [
"https://electronjs.org/blog/web-preferences-fix",
"https://www.exploit-db.com/exploits/45272/"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:electronjs:electron:3.0.0:beta6:*:*:*:*:*:*"
],
"vendor_product": "electronjs:electron",
"extracted_events": [
{
"range": [
{
"introduced": "3.0.0-beta6"
},
{
"last_affected": "3.0.0-beta6"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2018-15685",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 432585,
"published_at": "2018-08-23T05:29:00.227+00:00"
}