Skip to main content
← All vulnerabilities
CVE-2026-59188EUVD-2026-108577GHSA-2VHP-C958-M47J

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.12.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

Part-DB, an open source electronic component inventory management system, is affected. An authenticated user can upload a malicious SVG file disguised with a different file extension, which bypasses the system's sanitization and lets injected scripts run in the browsers of anyone who views the attachment, potentially compromising their session within the Part-DB application.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  4. Record last updated

Affected versions

  • Part-DB Part-DB-server

    fixed in 2.12.3

References 2

GitHub · Part-DB/Part-DB-server