🔍 CVE-2026-111089

7.6
CVSS Score
HIGH
2026-11-01
2026-11-02 16:13
✅ 완료

🇰🇷 한글 설명

Apache Wicket이 리소스 번들의 텍스트(현지화된 레이블, CSS 클래스명 등)를 JavaScript 문자열 리터럴과 HTML 속성 값에 컨텍스트에 맞는 이스케이프 없이 삽입하여, 작은따옴표나 따옴표가 포함된 텍스트로 스크립트 또는 마크업 삽입이 가능합니다. 영향 범위는 8.0.0~8.19.0, 9.0.0~9.24.0, 10.0.0~10.11.0이며 8.20.0, 9.25.0, 10.12.0 이상으로 업그레이드하면 해결됩니다.

💡 쉬운 설명

웹 페이지에 표시되는 번역 문구에 따옴표가 들어가면 페이지 코드가 깨지고, 악의적인 문구가 들어가면 스크립트가 실행될 수 있습니다. 해당 Wicket 버전을 사용하는 웹 애플리케이션 관리자가 업그레이드해야 합니다.

🇺🇸 원문 (English)

Apache Wicket reads texts from the application's resource bundles — a localized label, a css class name — and writes some of them into the JavaScript and the markup it generates for a component. Those texts are placed inside single-quoted JavaScript string literals and inside quoted attribute values without being escaped for that context, so a text containing a quote ends the literal or the attribute, and what follows is parsed as script or as markup in the application's origin when the page loads. A resource bundle entry is authored for the application and does not say where the framework will write it. The same key is read by the framework into element text, where Wicket escapes it, and into the contexts below, where it did not. A text containing an apostrophe, which is ordinary in several languages, is enough to break the page; a text under the influence of another party is enough to run script. In org.apache.wicket:wicket-core, org.apache.wicket.markup.html.form.upload.MultiFileUploadField writes the org.apache.wicket.mfu.delete message into a JavaScript string literal, and org.apache.wicket.markup.html.form.Form writes the hidden-fields css class into the class attribute of the container it renders for its hidden fields; on 8.0.0 through 8.19.0 and 9.0.0 through 9.24.0 Form#appendDefaultButtonField writes the same css class into a second container. In org.apache.wicket:wicket-extensions, UploadProgressBar writes its UploadProgressBar.starting text into a JavaScript string literal, FilterForm writes the hidden-fields css class into the class attribute of its hidden input markup, and on 9.0.0 through 9.24.0 and 10.0.0 through 10.11.0 TrapFocusBehavior writes its current css class into a JavaScript string literal. The Content-Security-Policy that Apache Wicket 9.x and 10.x send by default does not prevent the JavaScript cases: the generated script is written into a script element carrying the per-response nonce, so the injected code is part of a script the policy admits. It does prevent an inline event handler injected through the attribute cases. This issue affects Apache Wicket: from 8.0.0 through 8.19.0, from 9.0.0 through 9.24.0, from 10.0.0 through 10.11.0. Users of Apache Wicket 7.x or older, which are no longer supported, should upgrade to a supported version. Users are recommended to upgrade to version 8.20.0, 9.25.0 or 10.12.0, which fix the issue.

📍 영향받는 시스템

Apache Wicket 8.0.0~8.19.0, 9.0.0~9.24.0, 10.0.0~10.11.0 (wicket-core, wicket-extensions); 7.x 이하는 지원 종료 버전

⚔️ 공격 벡터

리소스 번들 텍스트에 작은따옴표/따옴표를 포함한 값이 주입되거나 외부 영향을 받는 텍스트가 해당 컴포넌트에 렌더링될 때 XSS가 발생 (단, 인라인 이벤트 핸들러 주입은 CSP로 차단되나 nonce가 적용된 스크립트 내 삽입은 허용됨)

🛡️ 대응 방법

Apache Wicket을 8.20.0, 9.25.0 또는 10.12.0 이상으로 업그레이드

🔧 검증 코드

출력된 wicket-core JAR 파일명의 버전이 8.0.0~8.19.0, 9.0.0~9.24.0, 10.0.0~10.11.0 범위에 속하면 취약하며, 8.20.0 / 9.25.0 / 10.12.0 이상이면 패치된 버전입니다.

Shell / Script
find / -name 'wicket-core-*.jar' 2>/dev/null | xargs -I{} sh -c 'echo {}; unzip -p {} META-INF/MANIFEST.MF 2>/dev/null | grep -i version'

📊 CVSS Vector String

CVSS Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N