Skip to content

[deps]: Update electron to v37.3.1 [SECURITY] - #862

Merged
BTreston merged 1 commit into
mainfrom
renovate/npm-electron-vulnerability
Sep 11, 2025
Merged

[deps]: Update electron to v37.3.1 [SECURITY]#862
BTreston merged 1 commit into
mainfrom
renovate/npm-electron-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Sep 4, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
electron 37.2.4 -> 37.3.1 age confidence

GitHub Vulnerability Alerts

CVE-2025-55305

Impact

This only impacts apps that have the embeddedAsarIntegrityValidation and onlyLoadAppFromAsar fuses enabled. Apps without these fuses enabled are not impacted.

Specifically this issue can only be exploited if your app is launched from a filesystem the attacker has write access too. i.e. the ability to edit files inside the resources folder in your app installation on Windows which these fuses are supposed to protect against.

Workarounds

There are no app side workarounds, you must update to a patched version of Electron.

Fixed Versions

  • 38.0.0-beta.6
  • 37.3.1
  • 36.8.1
  • 35.7.5

For more information

If you have any questions or comments about this advisory, email us at security@electronjs.org


Release Notes

electron/electron (electron)

v37.3.1: electron v37.3.1

Compare Source

Release Notes for v37.3.1

Fixes

  • Fixed an issue where shell.openPath was not non-blocking as expected. #​48088 (Also in 36, 38)
  • Fixed an issue where windows opened with window.open would never be offscreen. #​48070 (Also in 38)
  • Fixed potential deadlock inside app.getLoginItemSettings on macOS. #​48096 (Also in 36)

Other Changes

  • Updated Chromium to 138.0.7204.235. #​48066

v37.3.0: electron v37.3.0

Compare Source

Release Notes for v37.3.0

Features

  • Added support for app.getRecentDocuments() on Windows and macOS. #​47923 (Also in 36, 38)
  • Adds the ability to change window accent color on Windows after initial window initialization via {get|set}AccentColor. #​48017 (Also in 36, 38)
  • Internally switched to using DIR_ASSETS instead of DIR_MODULE/DIR_EXE to locate assets and resources, and added "assets" as a key that can be queried via app.getPath. #​47951 (Also in 38)

Fixes

  • Fixed a crash possible when calling webContents.loadURL() from a failed webContents.loadURL() call's catch handler. #​48045 (Also in 36, 38)
  • Fixed an issue where app.accessibilitySupportEnabled didn't work as expected. #​48061 (Also in 38)
  • Fixed an issue where importing from electron/utility in an ESM file threw an error at runtime. #​48021 (Also in 36, 38)
  • Fixed an issue where importing from electron/utility threw a ERR_MODULE_NOT_FOUND error at runtime. #​47988 (Also in 36, 38)
  • Fixed an issue where the accent border was drawn on all windows regardless of the window's active focused status. #​48011 (Also in 36, 38)
  • Fixed compilation error when disabling extensions and pdf_viewer. #​47994 (Also in 38)

Other Changes

v37.2.6: electron v37.2.6

Compare Source

Release Notes for v37.2.6

Fixes

  • Fixed a bug where the Referer header was not being set correctly when using webContents.downloadURL(). #​47865 (Also in 36, 38)
  • Fixed a crash when calling some webContents functions after window.close(). #​47954 (Also in 36, 38)
  • Fixed an issue on some older Windows versions where setContentProtection didn't work as expected. #​47887 (Also in 36, 38)
  • Fixed an issue where an invalid color passed as a string to accentColor would result in a white accent color. #​47800 (Also in 38)
  • Fixed an issue where video scrubbing would not correctly hold the new position on playback. #​47971 (Also in 38)
  • Fixed an issue where windows used dark theme on Linux all the time without reacting to system theme changes. #​47920 (Also in 38)
  • Fixed applying background material correctly when creating windows on Windows, restored animations, and also fixed the issue where dynamically setting the background material had no effect. #​47956 (Also in 36, 38)

Other Changes

  • Updated Chromium to 138.0.7204.185. #​47909

v37.2.5: electron v37.2.5

Compare Source

Release Notes for v37.2.5

Other Changes

  • Updated Chromium to 138.0.7204.168. #​47861

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from a team as a code owner September 4, 2025 02:33
@renovate renovate Bot added the security label Sep 4, 2025
@renovate
renovate Bot requested review from a team and BTreston September 4, 2025 02:33
@codecov

codecov Bot commented Sep 4, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 7.72%. Comparing base (ec2c40a) to head (75bb2d6).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #862   +/-   ##
=====================================
  Coverage   7.72%   7.72%           
=====================================
  Files         68      68           
  Lines       2757    2757           
  Branches     477     477           
=====================================
  Hits         213     213           
  Misses      2529    2529           
  Partials      15      15           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mandreko-bitwarden

Copy link
Copy Markdown
Contributor

It does not look like this project uses embeddedAsarIntegrityValidation or onlyLoadAppFromAsar fuses, as far as I can tell.

It's still likely a good idea to upgrade this, however.

@sonarqubecloud

sonarqubecloud Bot commented Sep 4, 2025

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Sep 4, 2025

Copy link
Copy Markdown
Contributor

Logo
Checkmarx One – Scan Summary & Details3f46f952-ef17-4710-b9c3-5ec69bb32f35

New Issues (2)

Checkmarx found the following issues in this Pull Request

Severity Issue Source File / Package Checkmarx Insight
HIGH CVE-2025-9864 Npm-electron-37.3.1
detailsDescription: Use after free in V8 in Google Chrome prior to 140.0.7339.80 allowed a remote attacker to potentially exploit heap corruption via a crafted HTML pa...
Attack Vector: NETWORK
Attack Complexity: LOW

ID: szbDFgvqLlvO8qODaEDsQSj%2BBFylgylpoMfKCIE9r%2B4%3D
Vulnerable Package
MEDIUM CVE-2025-9865 Npm-electron-37.3.1
detailsDescription: Inappropriate implementation in Toolbar in Google Chrome on Android prior to 140.0.7339.80 allowed a remote attacker who convinced a user to engage...
Attack Vector: NETWORK
Attack Complexity: LOW

ID: vurCgbUK1wjSAyAzcAij%2BZKz1vhCs%2BvtSFKd2KzQFF4%3D
Vulnerable Package
Fixed Issues (11)

Great job! The following issues were fixed in this Pull Request

Severity Issue Source File / Package
HIGH CVE-2025-8010 Npm-electron-37.2.4
HIGH CVE-2025-8011 Npm-electron-37.2.4
HIGH CVE-2025-8292 Npm-electron-37.2.4
HIGH CVE-2025-8576 Npm-electron-37.2.4
HIGH CVE-2025-8578 Npm-electron-37.2.4
HIGH CVE-2025-8879 Npm-electron-37.2.4
MEDIUM CVE-2025-8577 Npm-electron-37.2.4
MEDIUM CVE-2025-8579 Npm-electron-37.2.4
MEDIUM CVE-2025-8580 Npm-electron-37.2.4
MEDIUM CVE-2025-8581 Npm-electron-37.2.4
MEDIUM CVE-2025-8582 Npm-electron-37.2.4

@BTreston BTreston left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build succeeds, tests pass, smoke test looks good.

@BTreston
BTreston merged commit d662c05 into main Sep 11, 2025
21 of 22 checks passed
@BTreston
BTreston deleted the renovate/npm-electron-vulnerability branch September 11, 2025 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants