Read the docs
TI-2024-31890 Aliases CVE-2024-47610

Stored Cross-site Scripting Vulnerability in Markdown Editor

Priority LOW 34CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00316 24th percentileScored 2026-11-07
Fix Fixed InvenTree (inventree): 0.16.5

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
inventreeInvenTreebefore 0.16.50.16.5Patch availableCNA
  • InvenTree Vendorinventree Affected before 0.16.5 Fixed in 0.16.5 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:inventree_project:inventree:*:*:*:*:*:*:*:*before 0.16.5Vulnerableinventree
  • cpe:2.3:a:inventree_project:inventree:*:*:*:*:*:*:*:* Versions before 0.16.5 Vulnerable ·inventree

Remediation

  • Fix · CNA InvenTree (inventree) Fixed in 0.16.5

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-47610

References

  • TI-2022-03101 Cross-site Scripting (XSS) - Stored in inventree/inventree CVSS 3.1MEDIUM 5.4
  • TI-2026-27607 InvenTree has SSTI in PART_NAME_FORMAT bypasses CVE-2026-27629 fix via {% if part.pk %} sandbox escape CVSS 3.1CRITICAL 9.9
  • TI-2022-01953 Improper Neutralization of Formula Elements in a CSV File in inventree/inventree CVSS 3.1HIGH 8.8
  • TI-2022-01952 Unrestricted Upload of File with Dangerous Type in inventree/inventree CVSS 3.1HIGH 8.8
  • TI-2026-27608 InvenTree has Arbitrary API Token Creation CVSS 3.1HIGH 8.3
  • TI-2026-22011 InvenTree Vulnerable to Server Side Template Injection (SSTI) CVSS 3.1HIGH 8.8
See all 14 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences