CVE-2026-59188

Basic Information

Severity MEDIUM
Base Score 5.4
CNA GitHub_M
Published Date 2026-10-22 23:59:11 UTC
Last Modified 2026-10-22 23:59:11 UTC
CVE.org Link https://www.cve.org/CVERecord?id=CVE-2026-59188
NVD https://nvd.nist.gov/vuln/detail/CVE-2026-59188

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.

Affected Products

Vendor Product
part-db part-db-server