{"id":"CVE-2026-59188","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-59188","generatedAt":"2026-10-28T06:35:13.238Z","title":"An authenticated attacker can upload a malicious SVG with JavaScript payload using a non-SVG extension (e.g., .jpg), bypassing sanitization entirely.","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.","published":"2026-10-23T05:17:18.000Z","lastModified":"2026-10-23T19:36:32.000Z","status":"Deferred","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},"cwe":["CWE-79","CWE-434"],"affected":[],"epss":{"score":0.0015,"percentile":0.04111,"date":"2026-10-27","history":[{"date":"2026-10-23","score":0.0015,"percentile":0.03837}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.15%). Track it; it rarely justifies an emergency change on its own."},"changes":[{"kind":"new","label":"New CVE","at":"2026-10-23T05:17:18.000Z","detail":{"score":"5.4","severity":"MEDIUM","publishedAt":"2026-10-23T05:17:17.937Z"},"summary":"New CVE, medium severity (CVSS 5.4)."}],"references":[{"url":"https://github.com/Part-DB/Part-DB-server/releases/tag/v2.12.3","source":"security-advisories@github.com"},{"url":"https://github.com/Part-DB/Part-DB-server/security/advisories/GHSA-2vhp-c958-m47j","source":"security-advisories@github.com"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-59188","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}