GHSA-hv9c-qwqg-qj3v

Suggest an improvement
Source
https://github.com/advisories/GHSA-hv9c-qwqg-qj3v
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/08/GHSA-hv9c-qwqg-qj3v/GHSA-hv9c-qwqg-qj3v.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hv9c-qwqg-qj3v
Aliases
Published
2018-08-23T19:12:08Z
Modified
2023-11-08T03:59:57Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Electron webPreferences vulnerability can be used to perform remote code execution
Details

GitHub Electron 1.7.15, 1.8.7, 2.0.7, and 3.0.0-beta.6, in certain scenarios involving IFRAME elements and "nativeWindowOpen: true" or "sandbox: true" options, is affected by a webPreferences vulnerability that can be leveraged to perform remote code execution.

More information to determine if you are impacted can be found on the electron blog.

Recommendation

Upgrade Electron to >=3.0.0-beta.7, >=2.0.8, >=1.8.8, or >=1.7.16.

Database specific
{
    "cwe_ids":  [
        "CWE-1188"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-06-16T21:41:01Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
1.7.0
Fixed
1.7.16

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/08/GHSA-hv9c-qwqg-qj3v/GHSA-hv9c-qwqg-qj3v.json"

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
1.8.0
Fixed
1.8.8

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/08/GHSA-hv9c-qwqg-qj3v/GHSA-hv9c-qwqg-qj3v.json"

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
2.0.0
Fixed
2.0.8

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/08/GHSA-hv9c-qwqg-qj3v/GHSA-hv9c-qwqg-qj3v.json"

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
3.0.0-beta.1
Fixed
3.0.0-beta.7

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/08/GHSA-hv9c-qwqg-qj3v/GHSA-hv9c-qwqg-qj3v.json"