A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /Part-DB/Part-DB-server/releases/tag/v2.12.3
- github.com /Part-DB/Part-DB-server/security/advisories/GHSA-2vhp-c958-…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning