Tóm tắt nhanh
- CVE-2026-44896 là lỗ hổng mức TRUNG BÌNH (CVSS 6.1) ảnh hưởng mistune, mistune (mistune project).
- Xác suất bị khai thác trong 30 ngày tới (EPSS): 0.20%, cao hơn 9.7% các lỗ hổng khác.
- Cách xử lý: cập nhật lên 3.2.1 hoặc mới hơn.
| Gói / sản phẩm | Phiên bản bị ảnh hưởng | Phiên bản đã vá |
|---|
| mistune PyPI | < 3.2.1
| 3.2.1
|
| mistune | ≤ 3.2.0
| Chưa có bản vá |
Mô tả
In src/mistune/directives/image.py, the render_figure() function concatenates figclass and figwidth options directly into HTML attributes without escaping (lines 152-168).
This allows attribute injection and XSS even when HTMLRenderer(escape=True) is used, because these values bypass the inline renderer.
Other attributes in the same file (src, alt, style) are properly escaped; figclass/figwidth were missed.
Mô tả của NVD
Mistune is a Python Markdown parser with renderers and plugins. In 3.2.0 and earlier, in src/mistune/directives/image.py, the render_figure() function concatenates figclass and figwidth options directly into HTML attributes without escaping. This allows attribute injection and XSS even when HTMLRenderer(escape=True) is used, because these values bypass the inline renderer. Version 3.2.1 contains a patch.
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí