GHSA-2P8C-GR87-2676

Vulnerability from github – Published: 2026-10-22 16:47 – Updated: 2026-10-22 16:47
VLAI
Summary
Electron: SameSite cookie restrictions are not applied to windows opened from links
Details

Impact

Pages opened into a new window from a link were loaded as if the app itself had navigated there rather than the page that contained the link, so the request was treated as same-site: SameSite=Strict cookies were sent and Sec-Fetch-Site did not identify the initiating page. Content shown in the app could use this to make a credentialed top-level request to another site that relies on SameSite cookies as a CSRF defence.

Apps are only affected if they load untrusted content and allow it to open new windows. Apps that deny new windows from untrusted content with setWindowOpenHandler are not affected.

Workarounds

Return { action: 'deny' } from setWindowOpenHandler for windows opened by untrusted content.

Fixed Versions

  • 45.0.0-alpha.6
  • 44.3.0
  • 43.7.0
  • 42.11.3

For more information

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

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "electron"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "45.0.0-alpha.1"
            },
            {
              "fixed": "45.0.0-alpha.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "npm",
        "name": "electron"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "44.0.0-alpha.1"
            },
            {
              "fixed": "44.3.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "npm",
        "name": "electron"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "43.0.0-alpha.1"
            },
            {
              "fixed": "43.7.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "npm",
        "name": "electron"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "42.11.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2026-113796"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-352"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-10-22T16:47:54Z",
    "nvd_published_at": "2026-10-21T17:18:24Z",
    "severity": "MODERATE"
  },
  "details": "### Impact\n\nPages opened into a new window from a link were loaded as if the app itself had navigated there rather than the page that contained the link, so the request was treated as same-site: `SameSite=Strict` cookies were sent and `Sec-Fetch-Site` did not identify the initiating page. Content shown in the app could use this to make a credentialed top-level request to another site that relies on SameSite cookies as a CSRF defence.\n\nApps are only affected if they load untrusted content and allow it to open new windows. Apps that deny new windows from untrusted content with `setWindowOpenHandler` are not affected.\n\n### Workarounds\n\nReturn `{ action: \u0027deny\u0027 }` from `setWindowOpenHandler` for windows opened by untrusted content.\n\n### Fixed Versions\n\n* `45.0.0-alpha.6`\n* `44.3.0`\n* `43.7.0`\n* `42.11.3`\n\n### For more information\n\nIf you have any questions or comments about this advisory, email us at [security@electronjs.org](mailto:security@electronjs.org)",
  "id": "GHSA-2p8c-gr87-2676",
  "modified": "2026-10-22T16:47:54Z",
  "published": "2026-10-22T16:47:54Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/electron/electron/security/advisories/GHSA-2p8c-gr87-2676"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-113796"
    },
    {
      "type": "WEB",
      "url": "https://github.com/electron/electron/pull/53721"
    },
    {
      "type": "WEB",
      "url": "https://github.com/electron/electron/pull/53719"
    },
    {
      "type": "WEB",
      "url": "https://github.com/electron/electron/pull/53718"
    },
    {
      "type": "WEB",
      "url": "https://github.com/electron/electron/pull/53717"
    },
    {
      "type": "WEB",
      "url": "https://github.com/electron/electron/pull/53683"
    },
    {
      "type": "WEB",
      "url": "https://github.com/electron/electron/commit/a86ae4205ba2ba7ae60a6caa9d5d3a44321f2f9b"
    },
    {
      "type": "WEB",
      "url": "https://github.com/electron/electron/commit/98940cb274bb6adcb7cdb2da2d4495ac83119670"
    },
    {
      "type": "WEB",
      "url": "https://github.com/electron/electron/commit/652ef79ac79c6767b31e59b2f28d0d46114645e5"
    },
    {
      "type": "WEB",
      "url": "https://github.com/electron/electron/commit/0e6aca0618eeae50a18cfd50548b8688820629ed"
    },
    {
      "type": "WEB",
      "url": "https://github.com/electron/electron/commit/079b9b1594ee62c336adc3aa430d4c1cf62bd51e"
    },
    {
      "type": "WEB",
      "url": "https://github.com/electron/electron/releases/tag/v42.11.3"
    },
    {
      "type": "WEB",
      "url": "https://github.com/electron/electron/releases/tag/v43.7.0"
    },
    {
      "type": "WEB",
      "url": "https://github.com/electron/electron/releases/tag/v44.3.0"
    },
    {
      "type": "WEB",
      "url": "https://github.com/electron/electron/releases/tag/v45.0.0-alpha.6"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/electron/electron"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Electron: SameSite cookie restrictions are not applied to windows opened from links"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.