همهٔ گزارش‌ها
متوسط

sanitize-html is vulnerable to XSS through incomprehensive sanitization

متن اصلی

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

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

بهره‌برداری

CVE-2019-25225

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

FIRST EPSS · ۱۴۰۵/۰۹/۰۱

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

sanitize-html prior to version 2.0.0-beta is vulnerable to Cross-site Scripting (XSS). The sanitizeHtml() function in index.js does not sanitize content when using the custom transformTags option, which is intended to convert attribute values into text. As a result, malicious input can be transformed into executable code.

پیوندها