🔍 CVE-2026-107379

6.5
CVSS Score
MEDIUM
2026-10-08
2026-10-09 12:17
✅ 완료

🇰🇷 한글 설명

savg-sanitizer 1.0.0 미만 버전에서 조작된 SVG DTD의 #FIXED 속성을 사용할 경우, cleanAttributesOnWhitelist() 함수가 동일한 속성에 대해 DOMElement::removeAttribute()를 중복 호출하여 libxml 상태를 손상시킬 수 있습니다. 이로 인해 PHP 워커가 종료되어 서비스 가용성이 저하되거나 고갈될 수 있는 취약점입니다.

💡 쉬운 설명

악의적으로 만들어진 SVG 파일을 업로드하면 서버의 처리 프로그램이 오류를 일으켜 멈추게 만들 수 있습니다. 이를 통해 웹사이트 서비스를 마비시키는 공격이 가능합니다.

🇺🇸 원문 (English)

savg-sanitizer is a PHP SVG/XML sanitizer. Prior to 1.0.0, svg-sanitizer allows a crafted SVG DTD with a #FIXED attribute default to make cleanAttributesOnWhitelist() perform a double DOMElement::removeAttribute() call on the same attribute name in src/Sanitizer.php. The first removal deletes the explicit attribute, while the DTD default rematerializes the value before the href safety path performs the second removal, which can corrupt libxml state and terminate the PHP worker. An attacker who can submit SVG content to a sanitization endpoint can repeatedly interrupt workers and degrade or exhaust application availability. This issue is fixed in version 1.0.0.

📍 영향받는 시스템

savg-sanitizer 1.0.0 미만 버전

⚔️ 공격 벡터

조작된 SVG DTD(#FIXED 속성 포함) 파일을 포함한 콘텐츠를 위생 처리(Sanitization) 엔드포인트에 전송

🛡️ 대응 방법

savg-sanitizer를 1.0.0 이상의 최신 버전으로 업데이트

🔧 검증 코드

출력된 버전 정보가 1.0.0 미만인지 확인하여 취약 여부를 판단합니다.

Shell / Script
composer show savg-sanitizer 2>/dev/null | grep -E 'versions'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP