# CVE-2023-26042: HTML/XSS injection possibilities in Part-DB

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 45% of CVEs (2026-12-01)
- Published: 2023-02-27T14:41:24.145Z
- Modified: 2026-06-17T05:42:31.897Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Part-DB Part-DB-server: < 1.0.2
- part-db_project part-db: from 1.0.0 before 1.0.2

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/Part-DB/Part-DB-server/security/advisories/GHSA-9pmh-gmxx-rg2x> (patch, vendor-advisory)
- <https://github.com/Part-DB/Part-DB-server/pull/227> (issue-tracking)
- <https://github.com/Part-DB/Part-DB-server/commit/5b7f44f4eaacad8a79bcedec32780e00d7347099> (patch)
- <https://github.com/Part-DB/Part-DB-server/releases/tag/v1.0.2> (release-notes)

## Sources

- CVE List: [CVE-2023-26042](https://www.cve.org/CVERecord?id=CVE-2023-26042), CVE Terms of Use, modified 2025-03-10
- NVD: [CVE-2023-26042](https://nvd.nist.gov/vuln/detail/CVE-2023-26042), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-26042 · Whole record: https://cve.day/CVE-2023-26042.json · Rebuilt by cve.day 2026-11-25T22:58:22.162Z
