CVE-2020-15174

Source
https://cve.org/CVERecord?id=CVE-2020-15174
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-15174.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2020-15174
Aliases
Published
2020-10-06T18:15:14Z
Modified
2026-08-18T11:46:23Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:L CVSS Calculator
Summary
[none]
Details

In Electron before versions 11.0.0-beta.1, 10.0.1, 9.3.0 or 8.5.1 the will-navigate event that apps use to prevent navigations to unexpected destinations as per our security recommendations can be bypassed when a sub-frame performs a top-frame navigation across sites. The issue is patched in versions 11.0.0-beta.1, 10.0.1, 9.3.0 or 8.5.1 As a workaround sandbox all your iframes using the sandbox attribute. This will prevent them creating top-frame navigations and is good practice anyway.

References

Affected packages

Git / github.com/electron/electron

Affected ranges

Type
GIT
Repo
https://github.com/electron/electron
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "8.0.0"
        },
        {
            "fixed":  "8.5.1"
        },
        {
            "introduced":  "9.0.0"
        },
        {
            "fixed":  "9.3.0"
        },
        {
            "introduced":  "10.0.0"
        },
        {
            "fixed":  "10.0.1"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

v10.*
v10.0.0
v8.*
v8.0.0
v8.0.1
v8.0.2
v8.0.3
v8.1.0
v8.1.1
v8.2.0
v8.2.1
v8.2.2
v8.2.3
v8.2.4
v8.2.5
v8.3.0
v8.3.1
v8.3.2
v8.3.3
v8.3.4
v8.4.0
v8.4.1
v8.5.0
v9.*
v9.0.0
v9.0.1
v9.0.2
v9.0.3
v9.0.4
v9.0.5
v9.0.6
v9.1.0
v9.1.1
v9.1.2
v9.2.0
v9.2.1

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-15174.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "199102409340917251199271695657280783075",
            "length":  458
        },
        "id":  "CVE-2020-15174-03ae97a3",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/electron/electron/commit/18613925610ba319da7f497b6deed85ad712c59b",
        "target":  {
            "file":  "shell/browser/api/electron_api_web_contents.cc",
            "function":  "WebContents::OpenURLFromTab"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "18876523215243715297215661159503178326",
                "105122872310601477653131098437781229927",
                "176231553178074587801000684218715842294",
                "167506055793440953346741244502466215576",
                "255993982251929902972200033026413580857"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2020-15174-2e06a103",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/electron/electron/commit/18613925610ba319da7f497b6deed85ad712c59b",
        "target":  {
            "file":  "shell/browser/api/electron_api_web_contents.cc"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "18493730393850289687302545064610393440",
                "147977453749043512498612488010979206449",
                "308911388708264872865473406063814037530"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2020-15174-6aef6df8",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/electron/electron/commit/18613925610ba319da7f497b6deed85ad712c59b",
        "target":  {
            "file":  "shell/browser/electron_navigation_throttle.h"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "1695771876731390988285255923745959558",
                "321385116936480687537501712091518721339",
                "207554722948287550673032156114503070072"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2020-15174-8f3204c3",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/electron/electron/commit/18613925610ba319da7f497b6deed85ad712c59b",
        "target":  {
            "file":  "shell/browser/electron_navigation_throttle.cc"
        }
    }
]
vanir_signatures_modified
"2026-08-18T11:46:23Z"