cve.bz

CVE-2020-15174 electronjs electron: Protection Mechanism Failure

7.5 highEPSS 1.3%Fix available

High (7.5) in electronjs electron. EPSS 1.3% estimated probability of exploitation activity in the next 30 days. Fixed in electron 10.0.1, 8.5.1, 9.3.0.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:L
EPSS
1.3% (unchanged from 1.3% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 72nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-20 Improper Input Validation
CWE-693 Protection Mechanism Failure
OWASP Top 10
A05:2025 Injection, A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-15174 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-15174?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-15174?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-15174 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
electronjs:electronfrom 8.0.0 before 8.5.1
electronjs:electronfrom 9.0.0 before 9.3.0
electronjs:electronfrom 10.0.0 before 10.0.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2q4g-w47c-4674npmelectron>=8.0.0-beta.0 <8.5.18.5.1
GHSA-2q4g-w47c-4674npmelectron>=9.0.0-beta.0 <9.3.09.3.0
GHSA-2q4g-w47c-4674npmelectron>=10.0.0-beta.0 <10.0.110.0.1

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-693 (17), CWE-20 (51).

References

Check your stackJSON