Kestrel
대시보드로 돌아가기
CVE-2026-55790HIGHMITRENVDGHSA대응게시일: 2026. 07. 01.수정일: 2026. 07. 06.

Craft CMS: DOM XSS via GitHub issue title in CraftSupport widget

XSS

위협 신호 · CVSS · EPSS · KEV

정기 패치· 높은 악용 신호 없음
CVSS
high

이론적 심각도 점수

EPSS
0.3%상위 76.6%

30일 내 악용 확률 예측

KEV
미등재

실측 악용 기록 없음

권장 대응 기한60일 이내CISA SSVC 기준

계획된 패치 주기 내 조치(60일 이내)

외부 노출· KEV 미등재 · 자동화 어려움 · 부분 영향 · 외부 노출

CVSS 벡터 · 메트릭

CVSS 벡터 정보 없음

상세 설명

Summary

An attacker with only a GitHub account can plant a JavaScript payload in a craftcms/cms issue title. When a Craft admin uses the CraftSupport widget’s "Give feedback" screen and types a search term that returns the poisoned issue, the payload executes in the admin’s control panel session.

No control panel account or elevated privileges are required on the attacker’s side.

Preconditions

  • Attacker has a GitHub account (no control panel access needed).
  • Victim is an administrator, and you have the CraftSupport widget on the dashboard.
  • Victim uses the "Give feedback" screen and types a search term that returns the poisoned issue.

Root cause

CraftSupportWidget.js lines 382-392:

text
1$('<a>', {
2 href: this.getSearchResultUrl(results[i]),
3 target: '_blank',
4 html:
5 '<span class="status ' +
6 this.getSearchResultStatus(results[i]) +
7 '"></span>' +
8 this.getSearchResultText(results[i]),
9})

FeedbackScreen.getSearchResultText (line 669-671) returns result.title verbatim from the GitHub API response. The jQuery html: option sets the element’s innerHTML, so a title containing <img src=x onerror=...> executes immediately on render.

The GitHub API returns issue titles as raw JSON strings with no HTML encoding. The widget makes this request directly from the browser, without a Craft proxy or any sanitization step.

HelpScreen (Stack Exchange) is not affected because the Stack Exchange API HTML-encodes titles before returning them.

Steps to reproduce

Plant (attacker, GitHub account only):

  1. Open https://github.com/craftcms/cms/issues/new.
  2. Set the title to a string combining a plausible search term and the payload, e.g.:
xss
1<img src=x onerror=alert(document.domain)> cannot upload files
  1. Submit the issue.

Trigger (victim, Craft admin):

  1. Open the Craft control panel dashboard.
  2. Open the CraftSupport widget, click "Give feedback".
  3. Type cannot upload files in the search box.
  4. alert(document.domain) fires in the admin's session.

Impact

XSS in the admin control panel session. The payload has access to Craft.csrfTokenName and Craft.csrfTokenValue and can send same-origin action requests as the admin without any further interaction.

Mitigating factors

  • Victim must actively use the "Give feedback" search screen.
  • Attacker must predict or social-engineer a search term the admin will type, or use a broad term likely to match.
  • Widget is only available to admins.

Resources

AI 심층 분석

공격 시나리오 · 재현 가능한 PoC 페이로드 · 즉시 적용 가능한 차단 패치를 한 번에 받아 보세요. 보안 운영팀이 그대로 점검·티켓팅에 쓸 수 있는 형태로 정리해 드립니다.