🔍 CVE-2026-55570

9.0
CVSS Score
CRITICAL
2026-06-24
2026-10-25 23:10
✅ 완료

🇰🇷 한글 설명

SiYuan은 오픈소스 개인 지식 관리 시스템입니다. 3.7.0 이전 버전에서는 마켓플레이스 카드의 data-obj HTML 속성에 직렬화되는 name, version, author, description 필드를 이스케이프하지 않습니다. 작은따옴표가 포함된 패키지 이름을 통해 속성을 벗어나 임의의 HTML을 삽입할 수 있으며, 데스크톱 클라이언트에서는 nodeIntegration이 활성화되어 있어 XSS가 임의의 OS 명령 실행으로 확대됩니다.

💡 쉬운 설명

악성 패키지 이름을 가진 플러그인이 마켓플레이스에 등록되면, 사용자가 이를 보는 것만으로 공격자의 코드가 컴퓨터에서 실행될 수 있습니다. 이 문제는 이전 보안 패치가 놓친 다른 경로를 통해 발생합니다.

🇺🇸 원문 (English)

SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, it does not escape the untrusted fields (name, version, author, description) when they are serialized into the data-obj HTML attribute of each marketplace card. Because the attribute is single-quoted and the value is produced with JSON.stringify() (which does not escape ', <, or >), a package whose name contains a single quote breaks out of the attribute and injects arbitrary HTML. In the desktop client the main BrowserWindow runs with nodeIntegration: true, contextIsolation: false, so the injected markup escalates from DOM XSS to arbitrary OS command execution. This is the same root cause and same impact as the original advisory, reached through a sibling sink the patch did not cover. This vulnerability is fixed in 3.7.0.

📍 영향받는 시스템

SiYuan 3.7.0 미만 버전 (데스크톱 클라이언트 포함)

⚔️ 공격 벡터

작은따옴표를 포함한 악성 패키지 이름/설명을 마켓플레이스에 등록하여 사용자가 열람할 때 HTML 속성을 탈출해 임의 코드를 실행

🛡️ 대응 방법

SiYuan을 3.7.0 이상으로 업데이트하고, 신뢰할 수 없는 마켓플레이스 패키지 설치를 피하세요.

🔧 검증 코드

출력된 버전이 3.7.0 미만이면 취약하며, 3.7.0 이상이면 패치가 적용된 것입니다. 명령 결과가 없으면 해당 환경에 SiYuan이 설치되어 있지 않을 가능성이 있습니다.

Shell / Script
siyuan --version 2>/dev/null || (ls /Applications/SiYuan.app/Contents/Info.plist >/dev/null 2>&1 && defaults read /Applications/SiYuan.app/Contents/Info.plist CFBundleShortVersionString) || (dpkg -l siyuan 2>/dev/null | grep -E '^ii')

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Remote Desktop Client