CVE-2024-47610: Stored Cross-site Scripting Vulnerability in Markdown Editor
InvenTree is an Open Source Inventory Management System. In affected versions of InvenTree it is possible for a registered user to store javascript in markdown notes fields, which are then displayed to other logged in users who visit the same page and executed. The vulnerability has been addressed as follows: 1. HTML sanitization has been enabled in the front-end markdown rendering library - easymde. 2. Stored markdown is also validated on the backend, to ensure that malicious markdown is not stored in the database. These changes are available in release versions 0.16.5 and later. All users are advised to upgrade. There are no workarounds, an update is required to get the new validation functions.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-47610?
CVE-2024-47610 is classified as a high severity vulnerability due to potential cross-site scripting risks.
How do I fix CVE-2024-47610?
To fix CVE-2024-47610, update InvenTree to the latest version that addresses this issue.
What are the affected versions of InvenTree in CVE-2024-47610?
CVE-2024-47610 affects InvenTree versions prior to 0.16.5.
Who is impacted by CVE-2024-47610?
Registered users of InvenTree can be impacted by CVE-2024-47610 if they are able to view markdown notes containing malicious JavaScript.
What type of vulnerability is CVE-2024-47610?
CVE-2024-47610 is a cross-site scripting (XSS) vulnerability.