What’s Vulnerable › Vulnerabilities
CVE-2023-26042: HTML/XSS injection possibilities in Part-DB
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-02-27 · updated 2026-06-17
- Weakness: CWE-79
Description
Part-DB is an open source inventory management system for your electronic components. User input was found not being properly escaped, which allowed malicious users to inject arbitrary HTML into the pages. The Content-Security-Policy forbids inline and external scripts so it is not possible to execute JavaScript code, unless in combination with other vulnerabilities. There are no workarounds, please upgrade to Pat-DB 1.0.2 or later.
Affected products
- Part-DB-server: from 1.0.0 before 1.0.2 — fixed in 1.0.2
How to fix
Upgrade to a fixed version: Part-DB-server 1.0.2. Check the vendor advisory for mitigations.
References
- https://github.com/Part-DB/Part-DB-server/commit/5b7f44f4eaacad8a79bcedec32780e00d7347099
- https://github.com/Part-DB/Part-DB-server/pull/227
- https://github.com/Part-DB/Part-DB-server/releases/tag/v1.0.2
- https://github.com/Part-DB/Part-DB-server/security/advisories/GHSA-9pmh-gmxx-rg2x
- https://github.com/Part-DB/Part-DB-server/commit/5b7f44f4eaacad8a79bcedec32780e00d7347099
- https://github.com/Part-DB/Part-DB-server/pull/227
- https://github.com/Part-DB/Part-DB-server/releases/tag/v1.0.2
- https://github.com/Part-DB/Part-DB-server/security/advisories/GHSA-9pmh-gmxx-rg2x
Get alerted when CVE-2023-26042 or the next vulnerability affects your stack