نسخههای متأثر
بازهها نیاز به بررسی دارند.
PyPIhtml-sanitizer
- نسخههای متأثر
- <2.4.2
- نسخهٔ اصلاحشده
- 2.4.2
PyPIhtml-sanitizer
- نسخههای متأثر
- < 2.4.2
- نسخهٔ اصلاحشده
- 2.4.2
بهرهبرداری
شرح آسیبپذیری
Impact
If using keep_typographic_whitespace=False (which is the default), the sanitizer normalizes unicode to the NFKC form at the end. Some unicode characters normalize to chevrons; this allows specially crafted HTML to escape sanitization.
Patches
The problem has been fixed in 2.4.2.
Workarounds
Set keep_typographic_whitespace=True explicitly, or normalize to NFKC yourself earlier.
پیوندها
- https://github.com/advisories/GHSA-wvhx-q427-fgh3
- https://github.com/matthiask/html-sanitizer
- https://github.com/matthiask/html-sanitizer/commit/48db42fc5143d0140c32d929c46b802f96913550
- https://github.com/matthiask/html-sanitizer/security/advisories/GHSA-wvhx-q427-fgh3
- https://nvd.nist.gov/vuln/detail/CVE-2024-34078
- https://pypi.org/project/html-sanitizer
گزارشدهندگان
- yzueger

