{"id":"CVE-2026-59188","aliases":[],"cve":{"records":[{"id":"CVE-2026-59188","source":"GitHub_M","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-07-02T19:53:48.830Z","published":"2026-10-23T03:59:11.068Z","modified":"2026-10-29T12:49:30.293Z"}],"publishers":[{"name":"GitHub_M","role":"CNA","organizationId":"a0819718-46f1-4df5-94e2-005712e83aaa","modified":"2026-10-23T03:59:11.068Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-10-29T12:49:30.293Z"}],"references":[{"url":"https://github.com/Part-DB/Part-DB-server/security/advisories/GHSA-2vhp-c958-m47j","tags":["x_refsource_CONFIRM"],"source":"GitHub_M"},{"url":"https://github.com/Part-DB/Part-DB-server/releases/tag/v2.12.3","tags":["x_refsource_MISC"],"source":"GitHub_M"}],"weaknesses":[{"id":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","source":"GitHub_M"},{"id":"CWE-434","description":"CWE-434: Unrestricted Upload of File with Dangerous Type","source":"GitHub_M"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-10-29T12:48:16.940583Z","decisions":[{"name":"Exploitation","value":"poc"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"title":"Part-DB: SVG Sanitization Bypass via Extension Spoofing Leads to Stored XSS in Attachment Viewer","titleSource":"GitHub_M","descriptionSource":"GitHub_M","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.","score":5.4,"severity":"medium","published":"2026-10-23T03:59:11.068Z","modified":"2026-10-29T12:49:30.293Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"Part-DB","name":"Part-DB-server","platforms":[],"versions":[{"version":"< 2.12.3","status":"affected"}],"cpes":[],"source":"GitHub_M","url":"https://www.cve.org/CVERecord?id=CVE-2026-59188"}],"remediation":[],"references":["https://github.com/Part-DB/Part-DB-server/security/advisories/GHSA-2vhp-c958-m47j","https://github.com/Part-DB/Part-DB-server/releases/tag/v2.12.3"],"sources":[{"name":"CVE","id":"CVE-2026-59188","modified":"2026-10-29T12:49:30.293Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-59188"}],"assessments":[{"source":"GitHub_M","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4}],"sourceAffected":[],"observedAt":"2026-10-29T14:40:50.243Z","kev":{"status":"not-listed","checkedAt":"2026-10-31T14:10:32.801Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-10-29T13:00:31.798Z","attemptedAt":"2026-10-29T13:00:31.798Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-10-29T13:00:31.798Z","attemptedAt":"2026-10-29T13:00:31.798Z"},{"source":"EUVD","status":"available","checkedAt":"2026-10-29T13:00:31.798Z","attemptedAt":"2026-10-29T13:00:31.798Z"},{"source":"EPSS","status":"available","checkedAt":"2026-10-29T13:00:31.796Z","attemptedAt":"2026-10-29T13:00:31.796Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2026-59188","url":"https://www.first.org/epss/","probability":0.0015,"percentile":0.04122,"date":"2026-10-28","checkedAt":"2026-10-29T13:00:31.796Z"},{"source":"ENISA EUVD","id":"EUVD-2026-108577","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-108577","modified":"Oct 29, 2026, 12:49:30 PM","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","checkedAt":"2026-10-29T13:00:31.798Z"},{"source":"NVD","id":"CVE-2026-59188","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59188","modified":"2026-10-23T19:36:32.410","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","checkedAt":"2026-10-29T13:00:31.798Z"}],"aiSummary":{"text":"Part-DB-server versions prior to 2.12.3 are vulnerable to stored XSS via SVG sanitization bypass. An authenticated attacker can upload a malicious SVG file with a non-SVG extension, which is executed when viewed inline. This allows embedded scripts to run in the Part-DB origin.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-10-30T09:17:01.949Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-59188"}]}}