Vulnerability Description
Part-DB is an open source inventory management system for electronic components. Prior to version 2.12.3, Part-DB-server sanitizes SVG files based solely on the user-controlled filename extension rather than actual file content type. An authenticated attacker can upload a malicious SVG with JavaScript payload using a non-SVG extension (e.g., .jpg), bypassing sanitization entirely. When any user views the attachment inline, the browser receives Content-Type: image/svg+xml and executes the embedded script in the Part-DB origin. This issue has been patched in version 2.12.3.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/Part-DB/Part-DB-server/releases/tag/v2.12.3
- https://github.com/Part-DB/Part-DB-server/security/advisories/GHSA-2vhp-c958-m47
FAQ
What is CVE-2026-59188?
CVE-2026-59188 is a vulnerability with a CVSS score of 5.4 (MEDIUM). Part-DB is an open source inventory management system for electronic components. Prior to version 2.12.3, Part-DB-server sanitizes SVG files based solely on the user-controlled filename extension rath...
How severe is CVE-2026-59188?
CVE-2026-59188 has been rated MEDIUM with a CVSS base score of 5.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-59188?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.