GHSA-h9jc-284h-533g

Suggest an improvement
Source
https://github.com/advisories/GHSA-h9jc-284h-533g
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/07/GHSA-h9jc-284h-533g/GHSA-h9jc-284h-533g.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-h9jc-284h-533g
Aliases
Related
Published
2020-07-07T00:01:10Z
Modified
2026-02-04T02:38:37.927807Z
Severity
  • 7.7 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N CVSS Calculator
Summary
Context isolation bypass via contextBridge in Electron
Details

Impact

Apps using both contextIsolation and contextBridge are affected.

This is a context isolation bypass, meaning that code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions.

Workarounds

There are no app-side workarounds, you must update your Electron version to be protected.

Fixed Versions

  • 9.0.0-beta.21
  • 8.2.4
  • 7.2.4

For more information

If you have any questions or comments about this advisory: * Email us at security@electronjs.org

Database specific
{
    "nvd_published_at": null,
    "github_reviewed_at": "2020-07-06T23:55:23Z",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-501"
    ],
    "severity": "HIGH"
}
References

Affected packages

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.2.4

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/07/GHSA-h9jc-284h-533g/GHSA-h9jc-284h-533g.json"

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
8.0.0
Fixed
8.2.4

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/07/GHSA-h9jc-284h-533g/GHSA-h9jc-284h-533g.json"