CVE-2022-3355 Cross-site Scripting (XSS) - Stored in inventree/inventree
Attackers can inject malicious scripts into InvenTree, potentially executing code or hijacking user accounts.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-3355?
CVE-2022-3355 is a high-severity cross-site scripting vulnerability in inventree/inventree, published on 29 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Cross-site Scripting (XSS) - Stored in GitHub repository inventree/inventree prior to 0.8.3.
Weakness: CWE-79
Which versions are affected by CVE-2022-3355?
3 open source packages ship an affected version, including inventree. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
inventree PyPI | All versions | 0.8.3 |
inventree PyPI | All versions | 0.8.3 |
inventree PyPI | All versions | 0.8.3 |
Products include Inventree Project Inventree.
How do I fix CVE-2022-3355?
Upgrade inventree to 0.8.3 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-3355 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-3355 exists.
Other vulnerabilities in inventree/inventree
- CVE-2022-2111 Unrestricted Upload of File with Dangerous Type in inventree/inventree
- CVE-2022-2112 Improper Neutralization of Formula Elements in a CSV File in inventree/inventree
- CVE-2022-2113 Cross-site Scripting (XSS) - Stored in inventree/inventree
- CVE-2026-35478 InvenTree has Arbitrary API Token Creation
- CVE-2026-33530 InvenTree Vulnerable to ORM Filter Injection
Sources
Also known as GHSA-62g7-fpv9-v95f, PYSEC-2026-823.