PT-2020-5443
CVE-2020-26870
·
تاريخ النشر
2020-10-07
·
تاريخ التحديث
2022-04-27
الوصف من
CVSS 3.1
6.1
متوسطةالمقاييسAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions
DOMPurify versions prior to 2.0.17
Description
The issue is related to the DOMPurify library and its failure to protect the structure of a web page. This can be exploited by a remote attacker to perform a cross-site scripting attack. Specifically, the problem occurs because a serialize-parse roundtrip does not necessarily return the original DOM tree, and a namespace can change from HTML to MathML, as demonstrated by nesting of FORM elements.
Recommendations
For DOMPurify versions prior to 2.0.17, update to version 2.0.17 or later to resolve the issue. As a temporary workaround, consider restricting the use of the DOMPurify library until a patch is applied.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾