PT-2024-22361

CVE-2024-28246

·

تاريخ النشر

2024-03-25

·

تاريخ التحديث

2025-09-02

الوصف من

CVSS 3.1
5.5
متوسطة
المقاييسAV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
Name of the Vulnerable Software and Affected Versions KaTeX versions prior to 0.16.10
Description KaTeX is a JavaScript library for TeX math rendering on the web. Code that uses KaTeX's trust option can be fooled by URLs in malicious inputs that use uppercase characters in the protocol, allowing for malicious input to generate javascript: links in the output. This issue arises because KaTeX did not normalize the protocol entry of the context object provided to a user-specified trust function, which could be a mix of lowercase and/or uppercase letters.
Recommendations Upgrade to KaTeX v0.16.10 to remove this vulnerability. As a temporary workaround, consider using an allow-list instead of block-listing protocols in your trust function. Manually lowercase context.protocol via context.protocol.toLowerCase() before attempting to check for certain protocols. Avoid use of or turn off the trust option.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
الباحثون
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
GHSA-3WC5-FCW2-2329
USN-7572-1
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾