CVE-2022-3355 Cross-site Scripting (XSS) - Stored in inventree/inventree

High 8.2 Published Updated

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.

PackageAffectedFixed in
inventree PyPIAll versions0.8.3
inventree PyPIAll versions0.8.3
inventree PyPIAll versions0.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.

Sources

Also known as GHSA-62g7-fpv9-v95f, PYSEC-2026-823.

Is CVE-2022-3355 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free