CVE-2022-3355
Python vulnerability analysis and mitigation

Overview

Cross-site Scripting (XSS) - Stored vulnerability was discovered in GitHub repository inventree/inventree prior to version 0.8.3. The vulnerability was identified and tracked as CVE-2022-3355, with the disclosure date of September 29, 2022 (CVE Details).

Technical details

The vulnerability was related to insufficient sanitization of SVG file attachments in the InvenTree system. The issue allowed for potential stored XSS attacks through SVG file uploads. The fix involved implementing proper SVG sanitization by adding a sanitizer function that cleanses SVG content before saving, using a whitelist of allowed elements and attributes (GitHub Commit).

Impact

The vulnerability could allow attackers to execute malicious scripts through stored SVG files in the system, potentially leading to unauthorized access to user data, session hijacking, or other client-side attacks typical of stored XSS vulnerabilities.

Mitigation and workarounds

The issue was resolved in InvenTree version 0.8.3 through the implementation of SVG content sanitization. The fix includes a comprehensive sanitizer that validates and cleanses SVG files before they are stored in the system, using a predefined list of allowed elements and attributes (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66423HIGH7.1
  • PythonPython
  • tryton-server
NoYesNov 30, 2025
CVE-2025-66454MEDIUM6.5
  • PythonPython
  • arcade-mcp-server
NoYesDec 02, 2025
CVE-2025-66424MEDIUM6.5
  • PythonPython
  • trytond
NoYesNov 30, 2025
CVE-2025-66422MEDIUM4.3
  • PythonPython
  • tryton-server
NoYesNov 30, 2025
CVE-2025-65858LOW3.5
  • PythonPython
  • calibreweb
NoNoDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management