{"answers":{"affected":"8 open source packages ship an affected version, including electron.","exploited":"There is no known exploitation of CVE-2026-113798 in the wild and no public exploit code.","fix":"Upgrade electron to a fixed version for your release line: 42.11.9, 43.7.6, 44.5.0 or 45.0.0-alpha.13.","what":"CVE-2026-113798 is a medium-severity vulnerability in electron, published on 21 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2026-113798 and fix it if it is affected.\n\nWhat it is: CVE-2026-113798 is a medium-severity vulnerability in electron, published on 21 Oct 2026. \nExploitation: There is no known exploitation of CVE-2026-113798 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- electron (npm): affected all versions; fixed in 42.11.9\n- electron (npm): affected all versions; fixed in 42.11.9\n- electron (npm): affected from 43.0.0-alpha.1; fixed in 43.7.6\n- electron (npm): affected from 43.0.0-alpha.1; fixed in 43.7.6\n- electron (npm): affected from 44.0.0-alpha.1; fixed in 44.5.0\n- electron (npm): affected from 44.0.0-alpha.1; fixed in 44.5.0\n- electron (npm): affected from 45.0.0-alpha.1; fixed in 45.0.0-alpha.13\n- electron (npm): affected from 45.0.0-alpha.1; fixed in 45.0.0-alpha.13\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-113798/ (Markdown: https://insights.sbomify.com/CVE-2026-113798/index.md)","id":"CVE-2026-113798","markdown":"https://insights.sbomify.com/CVE-2026-113798/index.md","name":"CVE-2026-113798","record":{"aliases":["GHSA-x562-297c-g43g"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-346","name":"Origin Validation Error"}],"description":"Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 42.11.9, 43.7.6, 44.5.0, and 45.0.0-alpha.13, pointerLock permission requests from some cross-origin iframes caused session.setPermissionRequestHandler() to receive the top-level frame's requestingUrl and isMainFrame values instead of those of the requesting frame. An application that embeds untrusted iframe content and grants pointer lock based on the requesting origin could therefore grant the permission under the top-level page's identity. Applications that deny pointerLock for untrusted embedded content are not affected. This issue is fixed in versions 42.11.9, 43.7.6, 44.5.0, and 45.0.0-alpha.13.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Electron: Pointer lock permission requests can be attributed to the wrong frame","id":"CVE-2026-113798","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2026"},"n_packages":8,"n_references":15,"next":{"headline":"Slack Morphism verifier errors disclose valid HMACs in the logs","id":"CVE-2026-113799"},"packages":[{"ecosystem":"npm","fixed":["42.11.9"],"introduced":["0"],"last_affected":[],"package":"electron","purl":null,"source":"GHSA-x562-297c-g43g"},{"ecosystem":"npm","fixed":["42.11.9"],"introduced":["0"],"last_affected":[],"package":"electron","purl":"pkg:npm/electron","source":"GHSA-x562-297c-g43g"},{"ecosystem":"npm","fixed":["43.7.6"],"introduced":["43.0.0-alpha.1"],"last_affected":[],"package":"electron","purl":null,"source":"GHSA-x562-297c-g43g"},{"ecosystem":"npm","fixed":["43.7.6"],"introduced":["43.0.0-alpha.1"],"last_affected":[],"package":"electron","purl":"pkg:npm/electron","source":"GHSA-x562-297c-g43g"},{"ecosystem":"npm","fixed":["44.5.0"],"introduced":["44.0.0-alpha.1"],"last_affected":[],"package":"electron","purl":null,"source":"GHSA-x562-297c-g43g"},{"ecosystem":"npm","fixed":["44.5.0"],"introduced":["44.0.0-alpha.1"],"last_affected":[],"package":"electron","purl":"pkg:npm/electron","source":"GHSA-x562-297c-g43g"},{"ecosystem":"npm","fixed":["45.0.0-alpha.13"],"introduced":["45.0.0-alpha.1"],"last_affected":[],"package":"electron","purl":null,"source":"GHSA-x562-297c-g43g"},{"ecosystem":"npm","fixed":["45.0.0-alpha.13"],"introduced":["45.0.0-alpha.1"],"last_affected":[],"package":"electron","purl":"pkg:npm/electron","source":"GHSA-x562-297c-g43g"}],"prev":{"headline":"Electron: Extension tabs.query returns tab URLs and titles without the tabs permission","id":"CVE-2026-113797"},"products":["electron"],"published":"2026-10-21","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-28","vendors":["electron"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-113798/"}