CVE-2026-59188

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.
Configurations

No configuration.

History

23 Oct 2026, 05:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-10-23 05:17

Updated : 2026-10-29 13:17


NVD link : CVE-2026-59188

Mitre link : CVE-2026-59188

CVE.ORG link : CVE-2026-59188


JSON object : View

Products Affected

No product.

CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CWE-434

Unrestricted Upload of File with Dangerous Type