Security mailing lists by PureSourceCode

CVE-2020-15174

HIGH 7.5CVSS 3.1

Unpreventable top-level navigation

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.

Published
6 Oct 2020
Last modified
8 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-20CWE-693
Also known as
GHSA-2q4g-w47c-4674
Sources
NVDJSONOSV GHSA-2q4g-w47c-4674JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:L
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:L
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:L
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.8 AV:N/AC:M/Au:N/C:N/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD electronjs electron
cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*
>= 8.0.0, < 8.5.1 8.5.1
NVD electronjs electron
cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*
>= 9.0.0, < 9.3.0 9.3.0
NVD electronjs electron
cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*
>= 10.0.0, < 10.0.1 10.0.1
OSV npm electron >= 8.0.0-beta.0, < 8.5.1 8.5.1
OSV npm electron >= 9.0.0-beta.0, < 9.3.0 9.3.0
OSV npm electron >= 10.0.0-beta.0, < 10.0.1 10.0.1

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 6 Oct 2020)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 6 Oct 2020)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.