{"id":"CVE-2023-26042","aliases":["CVE-2023-26042"],"related":[],"kind":"vulnerability","state":"published","title":"HTML/XSS injection possibilities in Part-DB","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2023-02-27T14:41:24.145Z","modified":"2026-06-17T05:42:31.897Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 1.0.2","status":"affected"}],"vendor":"Part-DB","product":"Part-DB-server","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"1.0.0","fixed":"1.0.2"}],"vendor":"part-db_project","product":"part-db","cpe":"cpe:2.3:a:part-db_project:part-db:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/Part-DB/Part-DB-server/security/advisories/GHSA-9pmh-gmxx-rg2x","tags":["patch","vendor-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/Part-DB/Part-DB-server/pull/227","tags":["issue-tracking","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/Part-DB/Part-DB-server/commit/5b7f44f4eaacad8a79bcedec32780e00d7347099","tags":["patch","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/Part-DB/Part-DB-server/releases/tag/v1.0.2","tags":["release-notes","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-03-10T17:48:19.007Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-26042","url":"https://www.cve.org/CVERecord?id=CVE-2023-26042","licence":"CVE Terms of Use","modified":"2025-03-10T17:48:28.160Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-26042","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26042","licence":"Public domain","modified":"2026-06-17T05:42:31.897Z"}],"updatedAt":"2026-11-25T22:58:22.162Z","epss":{"score":0.0051,"percentile":0.45023,"date":"2026-12-01T12:00:22.000Z"}}