🔍 CVE-2026-88055

5.5
CVSS Score
MEDIUM
2026-09-10
2026-09-10 19:54
✅ 완료

🇰🇷 한글 설명

AnythingLLM 1.16.1 및 이전 버전에서 매니저 권한을 가진 사용자가 시스템 설정의 메타 데이터를 조작하여 XSS 공격을 수행할 수 있습니다. 공격자가 삽입한 자바스크립트는 관리자가 홈페이지를 방문할 때 실행되어 관리자의 JWT를 탈취하고 API 키 생성, 데이터 수정, 사용자 삭제 등 관리자 권한을 남용할 수 있습니다.

💡 쉬운 설명

관리자 권한을 가진 사람이 시스템 설정값에 악성 코드를 숨겨둘 수 있는 취약점입니다. 관리자가 홈페이지에 접속하는 순간 악성 코드가 실행되어 관리자의 계정 권한을 통째로 뺏길 수 있습니다.

🇺🇸 원문 (English)

AnythingLLM is an application that turns pieces of content into context that any LLM can use as references during chatting. In 1.16.1 and earlier, the manager role can store meta_page_title or meta_page_favicon through /api/admin/system-preferences, and MetaGenerator inserts those values into production homepage HTML without escaping attribute values or text content. The values pass unchanged through server/models/systemSettings.js and reach MetaGenerator.generate() in server/index.js. #assembleMeta() in server/utils/boot/MetaGenerator.js concatenates the stored values into HTML. When an administrator visits the homepage /, injected JavaScript can read the administrator JWT and use it to create API keys, access or modify workspace and chat data, delete users, and perform other administrator actions. server/endpoints/admin.js accepts the manager-controlled settings before server/models/systemSettings.js returns them unchanged. No fixed version is available as of this review.

📍 영향받는 시스템

AnythingLLM 1.16.1 및 그 이전 버전

⚔️ 공격 벡터

/api/admin/system-preferences API를 통한 메타 데이터 주입 및 관리자 접속 유도

🛡️ 대응 방법

해당 취약점이 해결된 패치 버전이 출시될 때까지 관리자 권한의 설정 변경을 제한하거나 입력값 검증 로직을 적용해야 합니다.

🔧 검증 코드

API 응답 결과에서 meta_page_title 또는 meta_page_favicon 필드에 스크립트 태그(<script>)가 포함되어 있는지 확인합니다.

Shell / Script
curl -s http://localhost:3001/api/admin/system-preferences | grep -E 'meta_page_title|meta_page_favicon'

📊 CVSS Vector String

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