You're offline — showing cached data

MC-4605

Board v2: pending_cta_url injected into onclick JS string (XSS)
2026-06-13 08:52:33 SAST
Home Board MC-4605

Board v2: pending_cta_url injected into onclick JS string (XSS)

Pre-existing (predates MC-4597), surfaced by MC-4597 council review. templates/partials/board_v2_card.html renders {{ _t.pending_cta_url }} raw inside onclick/onkeydown JS strin...
State Done Next Action Closed Owner Luci Runtime Closed Age 11d ago
MC-4605
Ticket is done; runtime is closed. · cwd /home/lucienne/workspace/state/control-room-worktrees/mc-4605-board-v2-pending-cta-url-injected-into-o-a9a788 · uptime 8d 23h · last activity 8d 23h ago

Description

MC-4605
Pre-existing (predates MC-4597), surfaced by MC-4597 council review. templates/partials/board_v2_card.html renders {{ _t.pending_cta_url }} raw inside onclick/onkeydown JS string literals. Jinja auto-escapes HTML, not JS-string context; a comment-derived URL with a single quote can break out and execute. pending_cta_url derives from ticket comment bodies (agent/human authored). Fix: move URL to a data-* attribute + read via dataset in a script handler, or pass through |tojson. Not folded into MC-4597 per surgical-change discipline.

Activity

done
Luci is working...
Live
No activity yet
Help