{"cve":"CVE-2022-36077","nvd":{"published":"2022-11-08T07:15:09.347","modified":"2026-06-17T04:52:52.090","status":"Modified","description":"The Electron framework enables writing cross-platform desktop applications using JavaScript, HTML and CSS. In versions prior to 21.0.0-beta.1, 20.0.1, 19.0.11, and 18.3.7, Electron is vulnerable to Exposure of Sensitive Information. When following a redirect, Electron delays a check for redirecting to file:// URLs from other schemes. The contents of the file is not available to the renderer following the redirect, but if the redirect target is a SMB URL such as `file://some.website.com/`, then in some cases, Windows will connect to that server and attempt NTLM authentication, which can include sending hashed credentials.This issue has been patched in versions: 21.0.0-beta.1, 20.0.1, 19.0.11, and 18.3.7. Users are recommended to upgrade to the latest stable version of Electron. If upgrading isn't possible, this issue can be addressed without upgrading by preventing redirects to file:// URLs in the `WebContents.on('will-redirect')` event, for all WebContents as a workaround.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-522","CWE-200"],"references":["https://github.com/electron/electron/security/advisories/GHSA-p2jh-44qj-pf2v","https://github.com/electron/electron/security/advisories/GHSA-p2jh-44qj-pf2v"],"products":["electronjs:electron"],"source":"nvd","synced_at":"2026-10-19T21:37:08.729216836+00:00"},"epss":{"cve":"CVE-2022-36077","score":0.0062,"percentile":0.49704,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-p2jh-44qj-pf2v","url":"https://osv.dev/vulnerability/GHSA-p2jh-44qj-pf2v","summary":"Exfiltration of hashed SMB credentials on Windows via file:// redirect","modified":"2023-11-08T04:09:59.820649Z","packages":[{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":["<18.3.7"],"fixed":["18.3.7"]},{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=20.0.0-beta.1 <20.0.1"],"fixed":["20.0.1"]},{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=19.0.0-beta.1 <19.0.11"],"fixed":["19.0.11"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}