PT-2024-36058

CVE-2024-54128

·

تاريخ النشر

2024-12-05

·

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

2025-11-19

الوصف من

CVSS 3.1
5.7
متوسطة
المقاييسAV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions: Directus versions prior to 10.13.4 Directus versions prior to 11.2.0
Description: The Comment feature in Directus has a filter to prevent users from adding restricted characters, such as HTML tags. However, this filter operates on the client-side, which can be bypassed, making the application vulnerable to HTML Injection. This issue can be exploited by directly sending a request to the endpoint, such as PATCH /activity/comment/3 HTTP/2, with a payload containing restricted characters, for example, "comment": "<h1>TEST <p style="color:red">HTML INJECTION</p> <a href="//evil.com">Test Link</a></h1>". The introduction of session cookies makes this issue exploitable, allowing a malicious script to perform authenticated actions on the current user's behalf.
Recommendations: For versions prior to 10.13.4, update to version 10.13.4 or later. For versions prior to 11.2.0, update to version 11.2.0 or later. As a temporary workaround, consider disabling the Comment feature until a patch is available. Restrict access to the /activity/comment endpoint to minimize the risk of exploitation. Avoid using the comment parameter in the affected API endpoint until the issue is resolved.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
الباحثون
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
GHSA-R6WX-627V-GH2F
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾