Skip to content

Part-DB-server

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

CVE-2026-59188Published 23 Oct 2026, 03:59 UTC

Real-world risk

1.2/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

5.4

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
Part-DB-serverNiche< 2.12.32.12.3

What to do

Update to a fixed version: 2.12.3.

Why this score

FactorValueEvidence×
ImpactMinorReflected XSS, CSRF with low effect, open redirect, minor leakFrom the CVSS vector0.30
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededLowA real low-privileged accountFrom the CVSS vector0.60
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T3: Public proof of concept (× 0.95)

A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit

  • CISA SSVC: proof of concept

EPSS 0.2% chance of exploitation in 30 days (percentile 9), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together0.420
  2. Threat T3: Public proof of concept0.950
  3. 10 × impact 0.3 × prerequisites 0.42 × threat 0.951.197
  4. Rounded to one decimal between 0.1 and 101.2

How the score works

Exploitation and evidence timeline

  1. 23 Oct 2026 Published
  2. 3 Dec 2026 CISA SSVC: proof of concept first seen
  3. 3 Dec 2026 Risk 1.2 (cvss fallback)

Weakness

CWE-79, CWE-434

References

Get alerts for Part-DB-server

Free email or text alerts when a vulnerability in Part-DB-server reaches risk 8 or higher. Nothing else.