개요
이 취약점이 무엇인지
An issue was discovered in Django 6.1 before 6.1.4, 6.0 before 6.0.11, and 5.2 before 5.2.20. The `truncatechars_html` template filter and the `django.utils.text.Truncator.chars()` method (with `html=True`) are subject to a potential cross-site scripting (XSS) attack when certain inputs whose text length matches the truncation length are processed and rendered in an HTML attribute. Earlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected. Django would like to thank JoeCyberTech for reporting this issue.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
기타7
- docs.djangoproject.com/en/dev/releases/security/
- github.com/django/django/commit/454f44fc8f52d0b925a7661b9809061f257eeac9
- github.com/django/django/commit/781dd5f5d53b6848dce649582d30bef4f0f94f67
- github.com/django/django/commit/7cf220a2486a7c5944893818bad9a6bbaebc48df
- github.com/django/django/commit/aaf82df0c772d98a71b740a331fccc0accb818a3