CVE-2023-26042: HTML/XSS injection possibilities in Part-DB
Vulnerability summary
CVE-2023-26042 is a medium (CVSS 6.1) Cross-site Scripting vulnerability in part-db_project part-db. EPSS estimates a 0.51% chance of exploitation in the next 30 days, higher than 42.6% of scored vulnerabilities.
Timeline
- 27-02-2023PublishedVulnerability first disclosed.
- 10-03-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.51%
Chance of exploitation in the next 30 days
Percentile
43%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.51% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Part-db1 product
- part-db-server< 1.0.2
Part-db_project1 product
- part-db≥ 1.0.0, < 1.0.2
2 vendors · 2 products
References
4 links- github.com/Part-DB/Part-DB-server/security/advisories/GHSA-9pmh-gmxx-rg2xX Refsource CONFIRMPatchVendor Advisory
- github.com/Part-DB/Part-DB-server/commit/5b7f44f4eaacad8a79bcedec32780e00d7347099X Refsource MISCPatch