개요
이 취약점이 무엇인지
An issue was discovered in Django 5.2 before 5.2.17 and 6.0 before 6.0.8. `django.contrib.admin.utils.display_for_field()` renders `URLField` values as clickable links in the admin without validating the URL. A value stored with an unsafe scheme is displayed as a link on changelist and read-only admin pages, which allows cross-site scripting against staff users who click the link. Exploitation requires the unsafe value to already be stored in the database. `URLField` validation through a `ModelForm` or the admin rejects unsafe schemes, so this affects applications that persist `URLField` data without running model validation, for example through direct queryset writes, deserialization, or bulk import of untrusted input. Django would like to thank Egor Saltykov for reporting this issue.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| djangodjangoproject | 5.2 | ≤ | 취약 | < | 5.2.17 | 5.2.17이상 |
| 6.0 | ≤ | 취약 | < | 6.0.8 | 6.0.8이상 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 4줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| Djangodjangoproject | 6.0 | ≤ | 취약 | < | 6.0.8 | 6.0.8이상 |
| 이 버전만 | 영향 없음 | = | 6.0.8 | — | ||
| 5.2 | ≤ | 취약 | < | 5.2.17 | 5.2.17이상 | |
| 이 버전만 | 영향 없음 | = | 5.2.17 | — | ||
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
벤더 공지2
패치5
- docs.djangoproject.com/en/dev/releases/security/
- github.com/django/django/commit/13debb622a32720bda1bccda7622fd14fbf3931b
- github.com/django/django/commit/47511a21026cdd721d8fbf8571cc079bc38bb46d
- github.com/django/django/commit/5a260d309a4c8010c2ebda24eb758a5d95e2508a
- github.com/django/django/commit/b9adb81339cc418f8f56b1050cca6dfec3ab6349