Stored HTML injection in Part-DB BOM validation results
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
Part-DB-server before 2.12.2 renders BOM validation messages with Twig's raw filter, so user-controlled Part names are not escaped (CWE-79). A user who can edit a Part name can store HTML in it, which renders on another user's validation page after that user imports a BOM CSV referencing the Part. The Content Security Policy appears to block JavaScript, but injected links, forms and images can still alter a trusted page. An attacker needs low privileges and user interaction.
Written with Claude Haiku 5.5 from the sources below · 2026-10-30
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade Part-DB-server to version 2.12.2, which fixes the issue.
Written with Claude Haiku 5.5 from the sources below · 2026-10-30
- Fix · CNA Part-DB-server (Part-DB) Fixed in 2.12.2
Timeline
- 2026-10-23 Threatist record created from CVE-2026-55600
- 2026-10-23 Priority changed: MEDIUM → LOW
- 2026-10-30 CISA SSVC decision points changed
- 2026-10-30 Priority changed: LOW → MEDIUM
References
More Part-DB vulnerabilities
- TI-2026-79546 Password reset link poisoning in Part-DB allows account takeover CVSS 4.0HIGH 8.7
- TI-2019-15485 Part-DB 0.4 Authentication Bypass via login.php CVSS 4.0HIGH 8.8
- TI-2026-79538 Part-DB attachment upload allows PHP execution via .phar files CVSS 3.1CRITICAL 9.6
- TI-2022-00754 OS Command Injection in part-db/part-db CVSS 3.1CRITICAL 9.8
- TI-2026-79539 Hardcoded APP_SECRET in Part-DB enables forged login cookies CVSS 3.1MEDIUM 6.3
- TI-2025-34870 Part-DB Persistent Denial of Service via Uncaught Exception from Misleading File Extension in Avatar Upload CVSS 3.1MEDIUM 5.7
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences