🇰🇷 한글 설명
Wiki.js는 Node.js 기반 위키 애플리케이션으로, 클라이언트 측 템플릿 주입 취약점이 발견되었습니다. 공격자가 유효하지 않은 HTML 태그를 통해 악성 JavaScript 페이로드를 삽입하면 피해자가 페이지를 로드할 때 실행됩니다. 버전 2.5.303에서 수정되었습니다.
💡 쉬운 설명
Wiki.js 웹사이트에 악의적인 코드를 숨길 수 있는 보안 문제가 있습니다. 해킹된 페이지를 방문한 사용자의 컴퓨터에서 자동으로 해커의 코드가 실행될 수 있습니다.
🇺🇸 원문 (English)
Wiki.js is al wiki app built on Node.js. Client side template injection was discovered, that could allow an attacker to inject malicious JavaScript into the content section of pages that would execute once a victim loads the page that contains the payload. This was possible through the injection of a invalid HTML tag with a template injection payload on the next line. This vulnerability is fixed in 2.5.303.
📍 영향받는 시스템
Wiki.js 버전 2.5.303 미만 (Node.js 기반 위키 애플리케이션)
⚔️ 공격 벡터
페이지 콘텐츠에 유효하지 않은 HTML 태그와 템플릿 주입 페이로드를 삽입하여 클라이언트 브라우저에서 JavaScript 실행
🛡️ 대응 방법
Wiki.js를 버전 2.5.303 이상으로 업그레이드 (npm update wiki.js)
🔧 검증 코드
출력된 버전 번호가 2.5.303 이상이면 취약점이 패치되었습니다.
npm list wiki.js --depth=0 2>/dev/null | tail -1