# CVE-2024-47610: Stored Cross-site Scripting Vulnerability in Markdown Editor

- Severity: High 7.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2024-10-07T20:45:20.510Z
- Modified: 2026-06-17T07:57:23.717Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- inventree InvenTree: < 0.16.5
- inventree_project inventree: before 0.16.5

## Every score

- GitHub_M: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/inventree/InvenTree/security/advisories/GHSA-wp3m-jhgv-rhqr> (vendor-advisory)
- <https://github.com/inventree/InvenTree/commit/6e37f0cd8ba5fc527412f18f66cd6a37015fa690> (patch)

## Sources

- CVE List: [CVE-2024-47610](https://www.cve.org/CVERecord?id=CVE-2024-47610), CVE Terms of Use, modified 2024-10-08
- NVD: [CVE-2024-47610](https://nvd.nist.gov/vuln/detail/CVE-2024-47610), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-47610 · Whole record: https://cve.day/CVE-2024-47610.json · Rebuilt by cve.day 2026-11-25T22:58:46.148Z
