همهٔ گزارش‌ها
کم

XSS in HtmlSanitizer

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
< 5.0.372
نسخهٔ اصلاح‌شده
5.0.372

بهره‌برداری

CVE-2020-26293

احتمال بهره‌برداری در ۳۰ روز آینده: 1.01%

FIRST EPSS · ۱۴۰۵/۰۸/۲۸

شرح آسیب‌پذیری

Impact

If you have explicitly allowed the <style> tag, an attacker could craft HTML that includes script after passing through the sanitizer. The default settings disallow the <style> tag so there is no risk if you have not explicitly allowed the <style> tag.

Patches

The problem has been fixed in version 5.0.372.

Workarounds

Remove the <style> tag from the set of allowed tags.

For more information

If you have any questions or comments about this advisory open an issue in https://github.com/mganss/HtmlSanitizer

Credits

This issue was discovered by Michal Bentkowski of Securitum.

پیوندها