PT-2020-21237
تاريخ النشر
2020-09-02
·
تاريخ التحديث
2020-09-02
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
Name of the Vulnerable Software and Affected Versions
preact versions prior to 10.0.0-beta.1
Description
The issue is related to insufficient input validation, allowing attackers to inject JavaScript objects as virtual-dom nodes, which may lead to Cross-Site Scripting. This occurs when user input parsed with
JSON.parse() is passed directly into JSX without sanitization.Recommendations
Upgrade to version 10.0.0-beta.1. As a temporary workaround, consider sanitizing user input before passing it into JSX to minimize the risk of exploitation.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾