VDB
EN
MEDIUM 4.3

PYSEC-2026-2218

빠른 조치

PYSEC-2026-2218 — mistune: 아래 명령으로 수정 버전으로 올리세요.

pip install --upgrade 'mistune>=3.3.0'

상세

Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, the toc plugin and TableOfContents directive generate heading IDs as predictable toc_N values without slugifying the heading text, allowing attacker-controlled id="toc_N" content to collide with generated anchors and redirect same-page navigation, CSS selectors, or JavaScript handlers. This issue is fixed in version 3.3.0.

이 버전이 영향받나요?

사용 중인 패키지 버전을 입력하면 즉시 평가합니다.

영향 패키지

PyPI / mistune
최초 영향 버전: 0 수정 버전: 3.3.0
수정 pip install --upgrade 'mistune>=3.3.0'

참고