CVE-2026-59188 Details
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.
A stored cross-site scripting vulnerability has been identified in Part-DB-server versions prior to 2.12.3. The issue arises because SVG files are sanitized based only on the user-controlled filename extension, allowing an authenticated attacker to upload a malicious SVG containing a JavaScript payload using a non-SVG extension, such as .jpg. This bypasses the sanitization process entirely. When the attachment is viewed inline, the browser receives the correct Content-Type of image/svg+xml, which triggers the execution of the embedded script within the Part-DB origin. This vulnerability has been patched in version 2.12.3.
Users are advised to update to Part-DB version 2.12.3 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 23, 2026CISA-ADP
Assessed Oct 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Part-DB/Part-DB-server/releases/tag/v2.12.3 | [email protected] | Release NotesVendor |
| https://github.com/Part-DB/Part-DB-server/security/advisories/GHSA-2vhp-c958-m47j | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type | [email protected] |
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Part-DB | <= 2.12.2 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 29, 2026 | CVE Modified | CISA-ADP |
| Oct 23, 2026 | New CVE Received | [email protected] |
Volerion