🔍 CVE-2025-66481

9.6
CVSS Score
CRITICAL
2025-12-09
2026-10-07 20:10
✅ 완료

🇰🇷 한글 설명

오픈소스 AI 채팅 플랫폼인 DeepChat 0.5.1 이하 버전에서 Mermaid 콘텐츠의 부적절한 검증으로 인해 XSS 취약점이 발생합니다. HTML 엔티티 인코딩과 따옴표가 없는 속성을 결합하여 보안 패치를 우회할 수 있으며, 이를 통해 electron.ipcRenderer 인터페이스를 이용한 원격 코드 실행(RCE)이 가능합니다.

💡 쉬운 설명

채팅창에 특수하게 조작된 코드를 입력하면 해커가 사용자의 컴퓨터를 원격으로 조종할 수 있는 매우 위험한 보안 결함입니다. 현재 이 문제를 해결할 수 있는 공식적인 수정 방법이 없는 상태입니다.

🇺🇸 원문 (English)

DeepChat is an open-source AI chat platform that supports cloud models and LLMs. Versions 0.5.1 and below are vulnerable to XSS attacks through improperly sanitized Mermaid content. The recent security patch for MermaidArtifact.vue is insufficient and can be bypassed using unquoted HTML attributes combined with HTML entity encoding. Remote Code Execution is possible on the victim's machine via the electron.ipcRenderer interface, bypassing the regex filter intended to strip dangerous attributes. There is no fix at time of publication.

📍 영향받는 시스템

DeepChat 0.5.1 및 그 이하 모든 버전

⚔️ 공격 벡터

Mermaid 콘텐츠 내에 HTML 엔티티 인코딩을 포함한 특수 속성을 삽입하여 보안 필터를 우회한 후 RCE 공격 수행

🛡️ 대응 방법

현재 공식적인 수정 패치가 없으므로, 해당 플랫폼 사용을 중단하거나 신뢰할 수 없는 콘텐츠 입력을 차단해야 함

🔧 검증 코드

출력된 버전 번호가 0.5.1 이하인 경우 해당 취약점에 노출된 상태입니다.

Shell / Script
npm list deepchat 2>/dev/null | grep -E 'deepchat@([0-9]+\.[0-9]+\.[0-9]+)'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

VMware Telco Cloud Platform