🇰🇷 한글 설명
SiYuan 3.7.0 미만 3.8.4 버전의 갤러리 및 칸반 데이터베이스 렌더러에서 필드 설명이 aria-label 속성 내에서 이스케이프되지 않아 저장형 XSS 취약점이 존재합니다. nodeIntegration이 활성화된 Electron 데스크톱 앱의 경우, 공격자가 JavaScript를 주입하여 Node.js child_process API를 호출함으로써 사용자 권한으로 임의의 명령을 실행할 수 있습니다.
💡 쉬운 설명
프로그램의 특정 화면에서 악성 코드가 실행될 수 있는 보안 약점이 발견되었습니다. 이를 통해 해커가 사용자의 컴퓨터에서 몰래 명령을 내리고 제어할 수 있는 위험이 있습니다.
🇺🇸 원문 (English)
SiYuan versions 3.7.0 before 3.8.4 contain a stored cross-site scripting vulnerability in gallery and kanban database renderers where field descriptions are not escaped in aria-label attributes. In the Electron desktop app with nodeIntegration enabled, attackers can inject JavaScript that calls Node.js child_process APIs to execute arbitrary commands with user privileges.
📍 영향받는 시스템
SiYuan versions 3.7.0 before 3.8.4 (Electron desktop app with nodeIntegration enabled)
⚔️ 공격 벡터
갤러리 또는 칸반 데이터베이스의 필드 설명에 악성 스크립트를 삽입하여 실행하는 저장형 XSS 공격
🛡️ 대응 방법
SiYuan을 최신 버전인 3.8.4 이상으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 3.8.4 미만인지 확인하여 취약 여부를 판단합니다.
siyuan --version 2>/dev/null || echo 'Check installed version manually'