{"schema":"threatline.record/2","record":{"id":"CVE-2026-54615","aliases":["GHSA-gp89-jfq9-x8r9"],"summary":"Part-DB: Stored XSS / HTML injection in activity-log Extra column via unsanitized CollectionElementDeleted element name (sibling-sanitizer gap)","details":"Part-DB is an open source inventory management system for electronic components. Prior to version 2.12.1, LogEntryExtraFormatter builds the HTML shown in the \"Extra\" column of the activity-log table (/log) and in element history tables. Every branch of LogEntryExtraFormatter::getInternalFormat() runs user-controlled strings through htmlspecialchars() before placing them into the HTML it returns — except the CollectionElementDeleted branch, which interpolates getOldName() (and getCollectionName()) into a sprintf() template with no escaping. The returned string is emitted by LogEntryExtraColumn::render() and inserted as raw HTML into the DataTables cell (the bundle does not escape column output; sibling columns call htmlspecialchars() themselves). CollectionElementDeleted.getOldName() is the name of a deleted collection sub-element — a part Parameter, Attachment, PartLot, Orderdetail, etc. — all freely set by any user with edit rights on the owning element. A low-privileged content editor can therefore store an HTML/script payload as the name of such a sub-element, delete it (which writes the log entry), and have that markup parsed as live DOM in the browser of a higher-privileged victim (an administrator/auditor with system.show_logs, or any user viewing that element's history). This is a stored cross-site-scripting / HTML-injection defect caused by a single missed sanitizer in one sibling branch. CSP policies block inline javascript execution under normal conditions. This issue has been patched in version 2.12.1.","categories":["Unclassified"],"product":"Part-DB-server","vendor":"Part-DB","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-54615","source_modified_at":"2026-10-23T15:00:09.748Z","fetched_at":"2026-10-23T18:42:43.628194Z","product":"Part-DB-server","vendor":"Part-DB","versions":[{"version":"< 2.12.1","status":"affected"}],"defaultStatus":null}],"fixed_versions":[],"cvss":6,"severity":"Medium","kev":{"listed":false},"epss":{"probability":0.00297,"percentile":0.21259,"score_date":"2026-10-23"},"published_at":"2026-10-23T03:45:02.512Z","modified_at":"2026-10-23T15:00:09.748Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-54615","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23T15:00:09.748Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-54615","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/Part-DB/Part-DB-server/security/advisories/GHSA-gp89-jfq9-x8r9","tags":["x_refsource_CONFIRM"]},{"source":"CVE List","url":"https://github.com/Part-DB/Part-DB-server/releases/tag/v2.12.1","tags":["x_refsource_MISC"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","assessed_at":"2026-10-23T14:48:39.941928Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-23T15:00:09.748Z","content_hash":"8e9a5c204bdcefa32932d30eb018bb869017fa8aa4e0e92fc2f926556472efae"}}
