{"schemaVersion":4,"id":"CVE-2025-55305","aliases":["GHSA-vmqv-hx8q-j7mg"],"status":"published","duplicateOf":null,"title":"Electron is vulnerable to Code Injection via resource modification","description":"Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. In versions below 35.7.5, 36.0.0-alpha.1 through 36.8.0, 37.0.0-alpha.1 through 37.3.1 and 38.0.0-alpha.1 through 38.0.0-beta.6, ASAR Integrity Bypass via resource modification. This only impacts apps that have the embeddedAsarIntegrityValidation and onlyLoadAppFromAsar fuses enabled. Apps without these fuses enabled are not impacted. This issue is fixed in versions 35.7.5, 36.8.1, 37.3.1 and 38.0.0-beta.6.","dates":{"published":"2025-09-04T23:05:07.274Z","modified":"2025-09-05T15:44:54.628Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.1,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L","exploitability":3.3,"impact":7.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00309,"percentile":0.25487,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.022999999999999972,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00286},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00268,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00268,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00268,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00268,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00268,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00268,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00268,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00268,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00268,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00268,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00276,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00309,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00309,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00309,"percentile":0.25487}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.0031,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00302,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00311,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00309,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00309,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00309,"percentile":0.25487}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-94","name":"Improper Control of Generation of Code","description":"The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/94.html"},{"id":"CWE-829","name":"Inclusion of Functionality from Untrusted Control Sphere","description":"The product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/829.html"}],"affected":[{"vendor":"electron","product":"electron","name":"electron","label":"electron","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 35.7.5","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"35.7.5","endInclusive":false}},{"text":"≥ 36.0.0-alpha.1, < 36.8.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"36.0.0-alpha.1","startInclusive":true,"end":"36.8.1","endInclusive":false}},{"text":"≥ 37.0.0-alpha.1, < 37.3.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"37.0.0-alpha.1","startInclusive":true,"end":"37.3.1","endInclusive":false}},{"text":"≥ 38.0.0-alpha.1, < 38.0.0-beta.6","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"38.0.0-alpha.1","startInclusive":true,"end":"38.0.0-beta.6","endInclusive":false}}],"versionsText":"< 35.7.5 | ≥ 36.0.0-alpha.1, < 36.8.1 | ≥ 37.0.0-alpha.1, < 37.3.1 | ≥ 38.0.0-alpha.1, < 38.0.0-beta.6","eol":null,"hubHref":"/vendor/electron/electron"},{"vendor":"Npm","product":"electron","name":"electron","label":"electron","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/electron","purlType":"npm","versions":[{"text":"< 35.7.5","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"35.7.5","endInclusive":false}},{"text":"≥ 36.0.0-alpha.1, < 36.8.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"36.0.0-alpha.1","startInclusive":true,"end":"36.8.1","endInclusive":false}},{"text":"≥ 37.0.0-alpha.1, < 37.3.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"37.0.0-alpha.1","startInclusive":true,"end":"37.3.1","endInclusive":false}},{"text":"≥ 38.0.0-alpha.1, < 38.0.0-beta.6","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"38.0.0-alpha.1","startInclusive":true,"end":"38.0.0-beta.6","endInclusive":false}}],"versionsText":"< 35.7.5 | ≥ 36.0.0-alpha.1, < 36.8.1 | ≥ 37.0.0-alpha.1, < 37.3.1 | ≥ 38.0.0-alpha.1, < 38.0.0-beta.6","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/electron/electron/security/advisories/GHSA-vmqv-hx8q-j7mg","label":"github.com/electron/electron/security/advisories/GHSA-vmqv-hx8q-j7mg","hostname":"github.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"https://github.com/electron/electron/pull/48101","label":"github.com/electron/electron/pull/48101","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/electron/electron/pull/48102","label":"github.com/electron/electron/pull/48102","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/electron/electron/pull/48103","label":"github.com/electron/electron/pull/48103","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/electron/electron/pull/48104","label":"github.com/electron/electron/pull/48104","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/electron/electron/commit/23a02934510fcf951428e14573d9b2d2a3c4f28b","label":"github.com/electron/electron/commit/23a02934510fcf951428e14573d9b2d2a3c4f28b","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/electron/electron/commit/2e5a0b7220ebf955c6785cc5adb2e2b1cf77dac1","label":"github.com/electron/electron/commit/2e5a0b7220ebf955c6785cc5adb2e2b1cf77dac1","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/electron/electron/commit/3f92511cdecc39f46b0e86cce40a0c691e301c9d","label":"github.com/electron/electron/commit/3f92511cdecc39f46b0e86cce40a0c691e301c9d","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/electron/electron/commit/fdf29ce83870109d403f5c23ae529dbd0e8f4fee","label":"github.com/electron/electron/commit/fdf29ce83870109d403f5c23ae529dbd0e8f4fee","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-55305","label":"nvd.nist.gov/vuln/detail/CVE-2025-55305","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/electron/electron","label":"github.com/electron/electron","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-09-04T23:05:07.274Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-09-05T15:44:54.628Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 6.1, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,61],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00309,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2025-09-05T15:44:54.628Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L","version":"3.1","headline":true},{"type":"cvss","source":"osv_npm","date":"2025-09-05T15:44:54.628Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L","version":"3.1"},{"type":"cvss","source":"nvd","date":"2025-09-05T15:44:54.628Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2025-09-05T15:44:19.972Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00309,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T09:01:26.874Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T09:01:27.430Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T09:01:27.610Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T09:01:02.756Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T09:01:25.188Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T09:01:24.136Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T09:56:21.206Z","stale":false,"partial":false}}