{"schema":"threatline.record/2","record":{"id":"CVE-2026-59188","aliases":["GHSA-2vhp-c958-m47j"],"summary":"Part-DB: SVG Sanitization Bypass via Extension Spoofing Leads to Stored XSS in Attachment Viewer","details":"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.","categories":["Unclassified"],"product":"Part-DB-server","vendor":"Part-DB","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-59188","source_modified_at":"2026-10-23T03:59:11.068Z","fetched_at":"2026-10-23T18:42:43.628194Z","product":"Part-DB-server","vendor":"Part-DB","versions":[{"version":"< 2.12.3","status":"affected"}],"defaultStatus":null}],"fixed_versions":[],"cvss":5.4,"severity":"Medium","kev":{"listed":false},"epss":{"probability":0.0015,"percentile":0.03837,"score_date":"2026-10-23"},"published_at":"2026-10-23T03:59:11.068Z","modified_at":"2026-10-23T03:59:11.068Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-59188","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23T03:59:11.068Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-59188","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/Part-DB/Part-DB-server/security/advisories/GHSA-2vhp-c958-m47j","tags":["x_refsource_CONFIRM"]},{"source":"CVE List","url":"https://github.com/Part-DB/Part-DB-server/releases/tag/v2.12.3","tags":["x_refsource_MISC"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-23T03:59:11.068Z","content_hash":"f39086b0de587a93491cc612883e95add707a3dcb106e7537de59b1072448202"}}
