{"id":"CVE-2023-26042","state":"PUBLISHED","title":"HTML/XSS injection possibilities in Part-DB","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.","publishedAt":"2023-02-27T14:41:24.145Z","updatedAt":"2025-03-10T17:48:28.160Z","severity":{"score":6.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["Part-DB Part-DB-server"],"affected":[{"vendor":"Part-DB","product":"Part-DB-server","versions":[{"version":"< 1.0.2","status":"affected"}]}],"references":["https://github.com/Part-DB/Part-DB-server/security/advisories/GHSA-9pmh-gmxx-rg2x","https://github.com/Part-DB/Part-DB-server/pull/227","https://github.com/Part-DB/Part-DB-server/commit/5b7f44f4eaacad8a79bcedec32780e00d7347099","https://github.com/Part-DB/Part-DB-server/releases/tag/v1.0.2"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:05:43.909Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/26xxx/CVE-2023-26042.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-26042","state":"PUBLISHED","datePublished":"2023-02-27T14:41:24.145Z","dateUpdated":"2025-03-10T17:48:28.160Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-02-17T22:44:03.149Z"},"containers":{"cna":{"title":"HTML/XSS injection possibilities in Part-DB ","descriptions":[{"lang":"en","value":"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":[{"vendor":"Part-DB","product":"Part-DB-server","versions":[{"version":"< 1.0.2","status":"affected"}]}],"references":[{"url":"https://github.com/Part-DB/Part-DB-server/security/advisories/GHSA-9pmh-gmxx-rg2x","name":"https://github.com/Part-DB/Part-DB-server/security/advisories/GHSA-9pmh-gmxx-rg2x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Part-DB/Part-DB-server/pull/227","name":"https://github.com/Part-DB/Part-DB-server/pull/227","tags":["x_refsource_MISC"]},{"url":"https://github.com/Part-DB/Part-DB-server/commit/5b7f44f4eaacad8a79bcedec32780e00d7347099","name":"https://github.com/Part-DB/Part-DB-server/commit/5b7f44f4eaacad8a79bcedec32780e00d7347099","tags":["x_refsource_MISC"]},{"url":"https://github.com/Part-DB/Part-DB-server/releases/tag/v1.0.2","name":"https://github.com/Part-DB/Part-DB-server/releases/tag/v1.0.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-02-27T14:41:24.145Z"},"source":{"advisory":"GHSA-9pmh-gmxx-rg2x","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/Part-DB/Part-DB-server/security/advisories/GHSA-9pmh-gmxx-rg2x","name":"https://github.com/Part-DB/Part-DB-server/security/advisories/GHSA-9pmh-gmxx-rg2x","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/Part-DB/Part-DB-server/pull/227","name":"https://github.com/Part-DB/Part-DB-server/pull/227","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/Part-DB/Part-DB-server/commit/5b7f44f4eaacad8a79bcedec32780e00d7347099","name":"https://github.com/Part-DB/Part-DB-server/commit/5b7f44f4eaacad8a79bcedec32780e00d7347099","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/Part-DB/Part-DB-server/releases/tag/v1.0.2","name":"https://github.com/Part-DB/Part-DB-server/releases/tag/v1.0.2","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T11:39:06.446Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-10T17:48:19.007569Z","id":"CVE-2023-26042","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-10T17:48:28.160Z"}}]}}}