dragonflight/services
ZGaetano 1e8cde81be fix(projects): prevent JS injection via bin names in onclick handlers
binCard() was building onclick="renameBinPrompt('id', 'NAME')" by
calling esc() then .replace(/'/g, "\\'").  The problem: esc() converts
' to ', so the replace never fires on raw single quotes.  When the
HTML parser evaluates the attribute it decodes ' back to ', breaking
the JS string — and for injected payloads like `'; alert(1)//` this is
stored XSS.

Fix: use JSON.stringify(b.name) to produce a properly-escaped double-
quoted JS string literal, then esc() to HTML-encode the surrounding
double-quotes for safe embedding in the HTML attribute.
2026-05-19 00:09:49 -04:00
..
capture fix(capture): wire bootstrapAutoStart() + add missing captureManager/MAM_API_URL/server (regression from earlier conflict resolution) 2026-05-18 09:25:55 -04:00
editor fix(editor): show loading banner during auto-import so Edit feels responsive 2026-05-17 22:44:08 -04:00
mam-api fix(upload): scope original S3 keys under assetId to prevent collisions 2026-05-19 00:08:13 -04:00
premiere-plugin feat: in-library asset preview + Premiere plugin installer 2026-05-17 08:55:14 -04:00
web-ui fix(projects): prevent JS injection via bin names in onclick handlers 2026-05-19 00:09:49 -04:00
worker fix(worker/thumbnail): mark asset ready even when thumbnail extraction fails 2026-05-18 23:51:04 -04:00