๐Ÿ” CVE Alert

CVE-2026-59188

MEDIUM 5.4

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

CVSS Score
5.4
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-79 CWE-434
Vendor part-db
Product part-db-server
Published Oct 23, 2026
Stay Ahead of the Next One

Get instant alerts for part-db part-db-server

Be the first to know when new medium vulnerabilities affecting part-db part-db-server are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Affected Versions

Part-DB / Part-DB-server
< 2.12.3

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/Part-DB/Part-DB-server/security/advisories/GHSA-2vhp-c958-m47j github.com: https://github.com/Part-DB/Part-DB-server/releases/tag/v2.12.3