ghsa-2q4g-w47c-4674
Vulnerability from github
Published
2020-10-06 14:24
Modified
2021-11-19 14:44
Severity ?
Summary
Unpreventable top-level navigation
Details
Impact
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.
Patches
11.0.0-beta.1
10.0.1
9.3.0
8.5.1
Workarounds
Sandbox all your iframes using the sandbox
attribute. This will prevent them creating top-frame navigations and is good practice anyway.
For more information
If you have any questions or comments about this advisory:
- Email us at security@electronjs.org
{ "affected": [ { "package": { "ecosystem": "npm", "name": "electron" }, "ranges": [ { "events": [ { "introduced": "8.0.0-beta.0" }, { "fixed": "8.5.1" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "npm", "name": "electron" }, "ranges": [ { "events": [ { "introduced": "9.0.0-beta.0" }, { "fixed": "9.3.0" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "npm", "name": "electron" }, "ranges": [ { "events": [ { "introduced": "10.0.0-beta.0" }, { "fixed": "10.0.1" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2020-15174" ], "database_specific": { "cwe_ids": [ "CWE-20", "CWE-693" ], "github_reviewed": true, "github_reviewed_at": "2020-10-06T14:12:16Z", "nvd_published_at": "2020-10-06T18:15:00Z", "severity": "HIGH" }, "details": "### Impact\nThe `will-navigate` event that apps use to prevent navigations to unexpected destinations [as per our security recommendations](https://www.electronjs.org/docs/tutorial/security) can be bypassed when a sub-frame performs a top-frame navigation across sites.\n\n### Patches\n\n* `11.0.0-beta.1`\n* `10.0.1`\n* `9.3.0`\n* `8.5.1`\n\n### Workarounds\nSandbox all your iframes using the [`sandbox` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#attr-sandbox). This will prevent them creating top-frame navigations and is good practice anyway.\n\n### For more information\nIf you have any questions or comments about this advisory:\n\n* Email us at security@electronjs.org", "id": "GHSA-2q4g-w47c-4674", "modified": "2021-11-19T14:44:04Z", "published": "2020-10-06T14:24:04Z", "references": [ { "type": "WEB", "url": "https://github.com/electron/electron/security/advisories/GHSA-2q4g-w47c-4674" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-15174" }, { "type": "WEB", "url": "https://github.com/electron/electron/commit/18613925610ba319da7f497b6deed85ad712c59b" }, { "type": "PACKAGE", "url": "https://github.com/electron/electron" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:L", "type": "CVSS_V3" } ], "summary": "Unpreventable top-level navigation" }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.