CVE-2026-70608 (GCVE-0-2026-70608)
Vulnerability from cvelistv5
Published
2026-08-05 17:27
Modified
2026-08-05 18:46
CWE
  • CWE-693 - Protection Mechanism Failure
  • CWE-1021 - Improper Restriction of Rendered UI Layers or Frames
Summary
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.10, 41.10.3, and 42.0.1, a sandboxed iframe without the allow-popups keyword could still open a new window or trigger setWindowOpenHandler with no user interaction because new-window navigations taking the OpenURL path did not apply the iframe sandbox popup restriction. Apps that embed untrusted content in sandboxed iframes and rely on the absence of allow-popups to prevent window creation are affected, while apps that deny window creation in setWindowOpenHandler or do not embed untrusted content in sandboxed iframes are not affected. This issue is fixed in 39.8.10, 41.10.3, and 42.0.1.
Impacted products
Vendor Product Version
electron electron Version: < 39.8.10
Version: >= 40.0.0-alpha.1, < 41.10.3
Version: >= 42.0.0-alpha.1, < 42.0.1
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-70608",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-08-05T18:14:00.193334Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-08-05T18:46:49.877Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "electron",
          "vendor": "electron",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c 39.8.10"
            },
            {
              "status": "affected",
              "version": "\u003e= 40.0.0-alpha.1, \u003c 41.10.3"
            },
            {
              "status": "affected",
              "version": "\u003e= 42.0.0-alpha.1, \u003c 42.0.1"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.10, 41.10.3, and 42.0.1, a sandboxed iframe without the allow-popups keyword could still open a new window or trigger setWindowOpenHandler with no user interaction because new-window navigations taking the OpenURL path did not apply the iframe sandbox popup restriction. Apps that embed untrusted content in sandboxed iframes and rely on the absence of allow-popups to prevent window creation are affected, while apps that deny window creation in setWindowOpenHandler or do not embed untrusted content in sandboxed iframes are not affected. This issue is fixed in 39.8.10, 41.10.3, and 42.0.1."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 7.2,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "CHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-693",
              "description": "CWE-693: Protection Mechanism Failure",
              "lang": "en",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "cweId": "CWE-1021",
              "description": "CWE-1021: Improper Restriction of Rendered UI Layers or Frames",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T17:27:15.743Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/electron/electron/security/advisories/GHSA-9f4c-93c8-jc8g",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/electron/electron/security/advisories/GHSA-9f4c-93c8-jc8g"
        },
        {
          "name": "https://github.com/electron/electron/pull/51437",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/electron/electron/pull/51437"
        },
        {
          "name": "https://github.com/electron/electron/pull/51438",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/electron/electron/pull/51438"
        },
        {
          "name": "https://github.com/electron/electron/pull/51439",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/electron/electron/pull/51439"
        },
        {
          "name": "https://github.com/electron/electron/commit/3ff23c52ab364a0afc6ab5bd7851291d3159de57",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/electron/electron/commit/3ff23c52ab364a0afc6ab5bd7851291d3159de57"
        },
        {
          "name": "https://github.com/electron/electron/commit/57cbe329c4ae8aab5ac5ebdcb588adc9a11de0d3",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/electron/electron/commit/57cbe329c4ae8aab5ac5ebdcb588adc9a11de0d3"
        },
        {
          "name": "https://github.com/electron/electron/commit/68cf8b7d9122260f6b534a69a82c701a56cf159f",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/electron/electron/commit/68cf8b7d9122260f6b534a69a82c701a56cf159f"
        },
        {
          "name": "https://github.com/electron/electron/releases/tag/v39.8.10",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/electron/electron/releases/tag/v39.8.10"
        },
        {
          "name": "https://github.com/electron/electron/releases/tag/v41.10.3",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/electron/electron/releases/tag/v41.10.3"
        },
        {
          "name": "https://github.com/electron/electron/releases/tag/v42.0.1",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/electron/electron/releases/tag/v42.0.1"
        }
      ],
      "source": {
        "advisory": "GHSA-9f4c-93c8-jc8g",
        "discovery": "UNKNOWN"
      },
      "title": "Electron: Sandboxed iframe can bypass the allow-popups restriction via the OpenURL navigation path"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2026-70608",
    "datePublished": "2026-08-05T17:27:15.743Z",
    "dateReserved": "2026-08-04T19:50:27.329Z",
    "dateUpdated": "2026-08-05T18:46:49.877Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-70608\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-08-05T18:14:00.193334Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-08-05T18:14:04.893Z\"}}], \"cna\": {\"title\": \"Electron: Sandboxed iframe can bypass the allow-popups restriction via the OpenURL navigation path\", \"source\": {\"advisory\": \"GHSA-9f4c-93c8-jc8g\", \"discovery\": \"UNKNOWN\"}, \"metrics\": [{\"cvssV3_1\": {\"scope\": \"CHANGED\", \"version\": \"3.1\", \"baseScore\": 7.2, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N\", \"integrityImpact\": \"LOW\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"NONE\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"LOW\"}}], \"affected\": [{\"vendor\": \"electron\", \"product\": \"electron\", \"versions\": [{\"status\": \"affected\", \"version\": \"\u003c 39.8.10\"}, {\"status\": \"affected\", \"version\": \"\u003e= 40.0.0-alpha.1, \u003c 41.10.3\"}, {\"status\": \"affected\", \"version\": \"\u003e= 42.0.0-alpha.1, \u003c 42.0.1\"}]}], \"references\": [{\"url\": \"https://github.com/electron/electron/security/advisories/GHSA-9f4c-93c8-jc8g\", \"name\": \"https://github.com/electron/electron/security/advisories/GHSA-9f4c-93c8-jc8g\", \"tags\": [\"x_refsource_CONFIRM\"]}, {\"url\": \"https://github.com/electron/electron/pull/51437\", \"name\": \"https://github.com/electron/electron/pull/51437\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/electron/electron/pull/51438\", \"name\": \"https://github.com/electron/electron/pull/51438\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/electron/electron/pull/51439\", \"name\": \"https://github.com/electron/electron/pull/51439\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/electron/electron/commit/3ff23c52ab364a0afc6ab5bd7851291d3159de57\", \"name\": \"https://github.com/electron/electron/commit/3ff23c52ab364a0afc6ab5bd7851291d3159de57\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/electron/electron/commit/57cbe329c4ae8aab5ac5ebdcb588adc9a11de0d3\", \"name\": \"https://github.com/electron/electron/commit/57cbe329c4ae8aab5ac5ebdcb588adc9a11de0d3\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/electron/electron/commit/68cf8b7d9122260f6b534a69a82c701a56cf159f\", \"name\": \"https://github.com/electron/electron/commit/68cf8b7d9122260f6b534a69a82c701a56cf159f\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/electron/electron/releases/tag/v39.8.10\", \"name\": \"https://github.com/electron/electron/releases/tag/v39.8.10\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/electron/electron/releases/tag/v41.10.3\", \"name\": \"https://github.com/electron/electron/releases/tag/v41.10.3\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/electron/electron/releases/tag/v42.0.1\", \"name\": \"https://github.com/electron/electron/releases/tag/v42.0.1\", \"tags\": [\"x_refsource_MISC\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.10, 41.10.3, and 42.0.1, a sandboxed iframe without the allow-popups keyword could still open a new window or trigger setWindowOpenHandler with no user interaction because new-window navigations taking the OpenURL path did not apply the iframe sandbox popup restriction. Apps that embed untrusted content in sandboxed iframes and rely on the absence of allow-popups to prevent window creation are affected, while apps that deny window creation in setWindowOpenHandler or do not embed untrusted content in sandboxed iframes are not affected. This issue is fixed in 39.8.10, 41.10.3, and 42.0.1.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-693\", \"description\": \"CWE-693: Protection Mechanism Failure\"}]}, {\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-1021\", \"description\": \"CWE-1021: Improper Restriction of Rendered UI Layers or Frames\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2026-08-05T17:27:15.743Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-70608\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-05T18:46:49.877Z\", \"dateReserved\": \"2026-08-04T19:50:27.329Z\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"datePublished\": \"2026-08-05T17:27:15.743Z\", \"assignerShortName\": \"GitHub_M\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…