CVE-2026-55600: Part-DB: Stored HTML injection in BOM validation results via unescaped Part name
Part-DB is an open source inventory management system for electronic components. Prior to version 2.12.2, Part-DB renders BOM validation information messages using Twig's |raw filter. These messages include translated placeholders populated with user-controlled Part names. A user who can edit a Part name can store HTML markup in the Part name. When another user imports a BOM CSV referencing that Part ID, the malicious Part name is rendered as HTML in the victim's BOM validation result page. This results in a cross-user stored HTML injection issue. JavaScript execution appears to be blocked by the current Content Security Policy, but arbitrary HTML links, forms, images, and CSS-based UI elements can still be injected into a trusted Part-DB page. This issue has been patched in version 2.12.2.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Part-DBto a version that resolves this vulnerability.Fixed in 2.12.2
Event History
Frequently Asked Questions
Who can exploit this issue, and who is exposed to the injected content?
An attacker needs permission to edit a Part name and must set that name to HTML markup. A different user is exposed when they import a BOM CSV that references the malicious Part ID, causing the name to be rendered on the BOM validation results page.
Does successful exploitation allow JavaScript execution?
JavaScript execution appears to be blocked by the current Content Security Policy. However, the attacker can inject arbitrary HTML links, forms, images, and CSS-based user-interface elements into a trusted Part-DB page.
Which versions are affected and what is the fix?
Versions prior to 2.12.2 are affected. Upgrade to Part-DB version 2.12.2, which includes the patch.
How can I determine whether my instance may already contain malicious content?
Review Part names editable by users for embedded HTML markup, especially for Parts referenced by BOM CSV imports. The injected content is displayed in BOM validation results when a CSV references the affected Part ID.