🔍 CVE-2026-34765

6.0
CVSS Score
MEDIUM
2026-04-07
2026-07-24 22:10
✅ 완료

🇰🇷 한글 설명

Electron 프레임워크에서 렌더러가 특정 타겟 이름을 사용하여 window.open()을 호출할 때, 이름이 지정된 창의 범위를 호출자의 브라우징 컨텍스트 그룹으로 올바르게 제한하지 못하는 취약점입니다. 이로 인해 서로 다른 렌더러가 동일한 타겟 이름을 사용할 경우, 권한이 높은 다른 자식 창을 조작하여 권한을 상속받거나 임의 코드를 실행할 수 있습니다.

💡 쉬운 설명

웹 브라우저 창을 열 때 이름이 겹치면, 원래 열려 있던 다른 창을 공격자가 마음대로 조종할 수 있는 문제입니다. 특히 보안 설정이 느슨하게 설정된 창을 타겟으로 삼으면 컴퓨터를 제어할 수도 있습니다.

🇺🇸 원문 (English)

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.5, 40.8.5, 41.1.0, and 42.0.0-alpha.5, when a renderer calls window.open() with a target name, Electron did not correctly scope the named-window lookup to the opener's browsing context group. A renderer could navigate an existing child window that was opened by a different, unrelated renderer if both used the same target name. If that existing child was created with more permissive webPreferences (via setWindowOpenHandler's overrideBrowserWindowOptions), content loaded by the second renderer inherits those permissions. Apps are only affected if they open multiple top-level windows with differing trust levels and use setWindowOpenHandler to grant child windows elevated webPreferences such as a privileged preload script. Apps that do not elevate child window privileges, or that use a single top-level window, are not affected. Apps that additionally grant nodeIntegration: true or sandbox: false to child windows (contrary to the security recommendations) may be exposed to arbitrary code execution. This vulnerability is fixed in 39.8.5, 40.8.5, 41.1.0, and 42.0.0-alpha.5.

📍 영향받는 시스템

Electron versions prior to 39.8.5, 40.8.5, 41.1.0, and 42.0.0-alpha.5

⚔️ 공격 벡터

동일한 타겟 이름을 사용하여 기존의 권한이 높은 자식 창을 탐색하고 탐색(navigate)하는 방식

🛡️ 대응 방법

Electron을 39.8.5, 40.8.5, 41.1.0 또는 42.0.0-alpha.5 이상의 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 Electron 버전을 확인하여 취약점이 해결된 버전(39.8.5, 40.8.5, 41.1.0, 42.0.0-alpha.5 이상)인지 대조합니다.

Shell / Script
npm list electron | grep electron

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L

💻 영향받는 소프트웨어

Storage Protect Snapshot for Windows