Read the docs
TI-2026-79542 Aliases CVE-2026-59188

Stored XSS in Part-DB attachment viewer via SVG sanitization bypass

Priority MEDIUM 58CWE-434Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
Code execution, Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-434 and CWE-79.

Summary

Part-DB-server versions before 2.12.3 sanitize SVG files based only on the user-controlled filename extension rather than the file content. An authenticated attacker can upload an SVG containing JavaScript under a non-SVG extension such as .jpg, which bypasses sanitization (CWE-79). When any user views the attachment inline, the browser receives the file as image/svg+xml and runs the script in the Part-DB origin.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0015 4th percentileScored 2026-11-07
Fix Fixed Part-DB-server (Part-DB): 2.12.3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Part-DBPart-DB-serverbefore 2.12.32.12.3Patch availableCNA
  • Part-DB-server VendorPart-DB Affected before 2.12.3 Fixed in 2.12.3 Patch available CNA

Remediation

Upgrade Part-DB-server to version 2.12.3, which patches this issue.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

  • Fix · CNA Part-DB-server (Part-DB) Fixed in 2.12.3

Timeline

  1. 2026-10-23 Threatist record created from CVE-2026-59188
  2. 2026-10-23 Priority changed: MEDIUM → LOW
  3. 2026-10-29 CISA SSVC decision points changed
  4. 2026-10-29 Priority changed: LOW → MEDIUM

References

  • TI-2026-79546 Password reset link poisoning in Part-DB allows account takeover CVSS 4.0HIGH 8.7
  • TI-2019-15485 Part-DB 0.4 Authentication Bypass via login.php CVSS 4.0HIGH 8.8
  • TI-2026-79538 Part-DB attachment upload allows PHP execution via .phar files CVSS 3.1CRITICAL 9.6
  • TI-2022-00754 OS Command Injection in part-db/part-db CVSS 3.1CRITICAL 9.8
  • TI-2026-79539 Hardcoded APP_SECRET in Part-DB enables forged login cookies CVSS 3.1MEDIUM 6.3
  • TI-2026-79540 Stored HTML injection in Part-DB BOM validation results CVSS 4.0MEDIUM 5.7
See all 12 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences