🇰🇷 한글 설명
Trix 리치 텍스트 에디터 2.1.17 이전 버전에서 DOMPurify 산티자이저를 우회하는 data-trix-serialized-attributes 속성 취약점이 발견되었습니다. 공격자가 악성 페이로드가 포함된 HTML을 제작할 경우, 사용자의 세션에서 임의의 자바스크립트가 실행되어 민감한 정보 유출이나 권한 없는 동작이 수행될 수 있습니다.
💡 쉬운 설명
글쓰기 도구인 Trix에서 보안 필터를 통과하는 특수 코드를 삽입할 수 있는 결함이 발견되었습니다. 이를 통해 해커가 사용자의 브라우저에서 몰래 나쁜 명령을 실행할 수 있습니다.
🇺🇸 원문 (English)
Trix is a what-you-see-is-what-you-get rich text editor for everyday writing. Prior to 2.1.17, Trix is vulnerable to cross-site scripting when a data-trix-serialized-attributes attribute bypasses the DOMPurify sanitizer. An attacker can craft HTML containing a data-trix-serialized-attributes attribute with a malicious payload that, when rendered, executes arbitrary JavaScript in the user's session and may perform unauthorized actions or disclose sensitive information. This issue is fixed in version 2.1.17.
📍 영향받는 시스템
Trix rich text editor versions prior to 2.1.17
⚔️ 공격 벡터
data-trix-serialized-attributes 속성을 이용한 DOMPurify 우회 및 악성 HTML 삽입
🛡️ 대응 방법
Trix를 버전 2.1.17 이상으로 업데이트하십시오.
🔧 검증 코드
명령어 결과에 trix 버전이 2.1.17 미만으로 표시되면 취약한 상태입니다.
npm list trix | grep -E 'trix@([0-1]\.|2\.[0-1]\.[0-9])'