XSS in Inventree
CVE-2024-47610
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.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.003 (22.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N.
Affected products
- Inventree — versions < 0.16.5
- Inventree_project Inventree
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
Frequently asked questions
- What is CVE-2024-47610?
- CVE-2024-47610 is a high-severity vulnerability in Inventree, classified under Cross-site Scripting. CVSS score: 7.3/10. Published 2024-10-07.
- How severe is CVE-2024-47610?
- High severity. CVSS v3 base score is 7.3 out of 10.