🇰🇷 한글 설명
ApostropheCMS에서 사용하는 sanitize-html 2.18.0 버전의 취약점입니다. <iframe> 태그가 허용되지 않을 때 해당 태그의 텍스트 내용을 재검사하는 과정에서 재귀 호출 제한이 없어 무한 루프가 발생할 수 있습니다. 이로 인해 서비스 거부(DoS) 공격이 가능합니다.
💡 쉬운 설명
웹사이트에서 위험한 코드를 걸러내는 도구가 특정 태그를 처리할 때 무한히 반복 작업을 수행하게 만드는 버그입니다. 공격자가 이 버그를 이용하면 웹사이트 서버를 과부하 상태로 만들어 멈추게 할 수 있습니다.
🇺🇸 원문 (English)
ApostropheCMS is an open-source Node.js content management system. In sanitize-html 2.18.0, when an <iframe> is not allowed and disallowedTagsMode is 'discard' (the defaults), its raw-text content is re-sanitized by a recursive call to sanitizeHtml(text, options). The recursion has no bound and starts each nested call with a fresh state. This vulnerability is fixed in 2.18.1.
📍 영향받는 시스템
sanitize-html 2.18.0 및 ApostropheCMS 관련 시스템
⚔️ 공격 벡터
특수하게 조작된 <iframe> 태그가 포함된 HTML 콘텐츠를 입력하여 재귀 호출 유도
🛡️ 대응 방법
sanitize-html 버전을 2.18.1 이상으로 업데이트