CVE-2026-59188 Part-DB: SVG Sanitization Bypass via Extension Spoofing Leads to Stored XSS in Attachment Viewer

Medium 5.4 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-59188?

CVE-2026-59188 is a medium-severity vulnerability in Part-DB-server, published on 23 Oct 2026.

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

Weakness: CWE-79, CWE-434

Which versions are affected by CVE-2026-59188?

How do I fix CVE-2026-59188?

No fix has been published for CVE-2026-59188 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-59188 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-59188 exists.

Sources

Also known as GHSA-2vhp-c958-m47j.

Is CVE-2026-59188 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free