GHSA-r4w5-6pfg-jxp5

Suggest an improvement
Source
https://github.com/advisories/GHSA-r4w5-6pfg-jxp5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-r4w5-6pfg-jxp5/GHSA-r4w5-6pfg-jxp5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-r4w5-6pfg-jxp5
Aliases
Published
2026-08-05T16:07:59Z
Modified
2026-08-05T16:26:04Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N CVSS Calculator
Summary
Electron: ProtocolResponse.url reuses the default session cache instead of the registering session
Details

Impact

When a custom protocol handler returned a ProtocolResponse with a url and no session, Electron made the upstream request through defaultSession instead of the session that handled the protocol. A cached response could then be reused across otherwise isolated session partitions.

Apps that use ProtocolResponse.url, omit ProtocolResponse.session, and rely on separate sessions to isolate content are affected. Apps that set an explicit session, or that do not isolate content across sessions, are not affected.

Workarounds

Set ProtocolResponse.session explicitly so the request uses the intended session's cache.

Fixed Versions

  • 43.0.0
  • 42.5.1
  • 41.9.1
  • 40.10.6

For more information

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

Database specific
{
    "cwe_ids":  [
        "CWE-668"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-08-05T16:07:59Z",
    "nvd_published_at":  null,
    "severity":  "MODERATE"
}
References

Affected packages

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
43.0.0-alpha.1
Fixed
43.0.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-r4w5-6pfg-jxp5/GHSA-r4w5-6pfg-jxp5.json"

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
42.0.0-alpha.1
Fixed
42.5.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-r4w5-6pfg-jxp5/GHSA-r4w5-6pfg-jxp5.json"

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
41.0.0-alpha.1
Fixed
41.9.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-r4w5-6pfg-jxp5/GHSA-r4w5-6pfg-jxp5.json"

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
40.0.0-alpha.1
Fixed
40.10.6

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-r4w5-6pfg-jxp5/GHSA-r4w5-6pfg-jxp5.json"