BreachSpiderVerified, not vibes

CVE-2020-15174 in Electronjs Electron

High 7.5 Fix available

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...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.5
EPSS1.3%
EPSS percentile72th
FixAvailable

Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, can impact systems beyond the vulnerable component, no confidentiality impact, full integrity impact.

Affected products and versions

VendorProductAffected versions
Electronjs Electron ≥ 8.0.0, < 8.5.1 ≥ 9.0.0, < 9.3.0 ≥ 10.0.0, < 10.0.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2020-15174
BreachSpider IDBS-2020-GLOBAL-178577-H
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:L
Published2020-10-06
Last modified2024-11-21
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-20: Improper Input Validation

Software does not validate or incorrectly validates input, allowing attackers to craft data processed in unintended ways.

CWE-693: CWE-693

Related attack patterns (CAPEC)

CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters via CWE-20

CAPEC-7 Blind SQL Injection via CWE-20

CAPEC-8 Buffer Overflow in an API Call via CWE-20

CAPEC-9 Buffer Overflow in Local Command-Line Utilities via CWE-20

CAPEC-10 Buffer Overflow via Environment Variables via CWE-20

Show all 67

CAPEC-13 Subverting Environment Variable Values via CWE-20

CAPEC-14 Client-side Injection-induced Buffer Overflow via CWE-20

CAPEC-24 Filter Failure through Buffer Overflow via CWE-20

CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies via CWE-20

CAPEC-42 MIME Conversion via CWE-20

CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-20

CAPEC-45 Buffer Overflow via Symbolic Links via CWE-20

CAPEC-46 Overflow Variables and Tags via CWE-20

CAPEC-47 Buffer Overflow via Parameter Expansion via CWE-20

CAPEC-51 Poison Web Service Registry via CWE-693

CAPEC-52 Embedding NULL Bytes via CWE-20

CAPEC-53 Postfix, Null Terminate, and Backslash via CWE-20

CAPEC-57 Utilizing REST's Trust in the System Resource to Obtain Sensitive Data via CWE-693

CAPEC-59 Session Credential Falsification through Prediction via CWE-693

CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-20

CAPEC-65 Sniff Application Code via CWE-693

CAPEC-67 String Format Overflow in syslog() via CWE-20

CAPEC-71 Using Unicode Encoding to Bypass Validation Logic via CWE-20

CAPEC-72 URL Encoding via CWE-20

CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-20

CAPEC-79 Using Slashes in Alternate Encoding via CWE-20

CAPEC-80 Using UTF-8 Encoding to Bypass Validation Logic via CWE-20

CAPEC-81 Web Server Logs Tampering via CWE-20

CAPEC-83 XPath Injection via CWE-20

CAPEC-85 AJAX Footprinting via CWE-20

CAPEC-101 Server Side Include (SSI) Injection via CWE-20

CAPEC-107 Cross Site Tracing via CWE-693

CAPEC-108 Command Line Execution through SQL Injection via CWE-20

CAPEC-109 Object Relational Mapping Injection via CWE-20

CAPEC-110 SQL Injection through SOAP Parameter Tampering via CWE-20

CAPEC-120 Double Encoding via CWE-20

CAPEC-127 Directory Indexing via CWE-693

CAPEC-209 XSS Using MIME Type Mismatch via CWE-20

CAPEC-237 Escaping a Sandbox by Calling Code in Another Language via CWE-693

CAPEC-261 Fuzzing for garnering other adjacent user/sensitive data via CWE-20

CAPEC-477 Signature Spoofing by Mixing Signed and Unsigned Content via CWE-693

CAPEC-588 DOM-Based XSS via CWE-20

CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs via CWE-693

CAPEC-17 Using Malicious Files via CWE-693

CAPEC-20 Encryption Brute Forcing via CWE-693

CAPEC-23 File Content Injection via CWE-20

CAPEC-36 Using Unpublished Interfaces or Functionality via CWE-693

CAPEC-63 Cross-Site Scripting (XSS) via CWE-20

CAPEC-73 User-Controlled Filename via CWE-20

CAPEC-87 Forceful Browsing via CWE-693

CAPEC-88 OS Command Injection via CWE-20

CAPEC-104 Cross Zone Scripting via CWE-20

CAPEC-135 Format String Injection via CWE-20

CAPEC-136 LDAP Injection via CWE-20

CAPEC-182 Flash Injection via CWE-20

CAPEC-230 Serialized Data with Nested Payloads via CWE-20

CAPEC-231 Oversized Serialized Data Payloads via CWE-20

CAPEC-250 XML Injection via CWE-20

CAPEC-267 Leverage Alternate Encoding via CWE-20

CAPEC-473 Signature Spoof via CWE-20

CAPEC-480 Escaping Virtualization via CWE-693

CAPEC-664 Server Side Request Forgery via CWE-20

CAPEC-668 Key Negotiation of Bluetooth Attack (KNOB) via CWE-693

CAPEC-22 Exploiting Trust in Client via CWE-20, CWE-693

CAPEC-28 Fuzzing via CWE-20

CAPEC-74 Manipulating State via CWE-693

CAPEC-153 Input Data Manipulation via CWE-20

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2020-15174 affects Electron versions prior to 11.0.0-beta.1, 10.0.1, 9.3.0, and 8.5.1, allowing bypass of the `will-navigate` event, which is used to prevent navigation to unexpected destinations. This can lead to potential security vulnerabilities.

An attacker can exploit this vulnerability by causing a sub-frame to perform a top-frame navigation across sites, bypassing the intended security measures implemented by the `will-navigate` event.

Questions

What is CVE-2020-15174?

CVE-2020-15174 affects Electron versions prior to 11.0.0-beta.1, 10.0.1, 9.3.0, and 8.5.1, allowing bypass of the `will-navigate` event, which is used to prevent navigation to unexpected destinations. This can lead to potential security vulnerabilities.

What is the CVSS score for CVE-2020-15174?

CVE-2020-15174 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:L. EPSS: 1.3%.

Is CVE-2020-15174 actively exploited?

No confirmed active exploitation of CVE-2020-15174 as of 2026-05-30.

How do I remediate CVE-2020-15174?

Priority: HIGH.

What systems are affected by CVE-2020-15174?

CVE-2020-15174 affects Electronjs Electron.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Electronjs","product":"Electron","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.