🔍 CVE-2026-40074

7.5
CVSS Score
HIGH
2026-04-10
2026-10-26 21:10
✅ 완료

🇰🇷 한글 설명

SvelteKit 프레임워크의 handle server hook 내에서 redirect 함수를 호출할 때, location 파라미터에 HTTP 헤더로 사용할 수 없는 문자가 포함되면 처리되지 않은 TypeError가 발생합니다. 이는 특히 사용자 입력값이 검증 없이 전달될 경우 서비스 거부(DoS) 공격으로 이어질 수 있습니다.

💡 쉬운 설명

웹사이트를 만드는 도구인 SvelteKit에서 잘못된 문자가 포함된 주소로 이동하려고 하면 프로그램이 오류를 일으키며 멈출 수 있습니다. 공격자가 특수 문자를 이용해 웹사이트를 마비시킬 수 있는 위험이 있습니다.

🇺🇸 원문 (English)

SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to 2.57.1, redirect, when called from inside the handle server hook with a location parameter containing characters that are invalid in a HTTP header, will cause an unhandled TypeError. This could result in DoS on some platforms, especially if the location passed to redirect contains unsanitized user input. This vulnerability is fixed in 2.57.1.

📍 영향받는 시스템

SvelteKit 2.57.1 미만 버전

⚔️ 공격 벡터

검증되지 않은 사용자 입력값이 포함된 location 파라미터를 사용하여 redirect 함수를 호출하는 방식

🛡️ 대응 방법

SvelteKit을 2.57.1 이상의 최신 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 sveltekit의 버전이 2.57.1보다 낮은지 확인하십시오.

Shell / Script
npm list sveltekit

📊 CVSS Vector String

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