caterium-app/public/core
pavlov346346-source 0fc359dda6
Some checks failed
Caterium QA / qa (push) Failing after 8m6s
fix: harden inline handlers against id injection, fix stale version label
Inline handlers built as onclick="fn('${esc(id)}')" were injectable:
esc() turns ' into ', which the browser decodes back to ' before
the JS runs, so an id like x');alert(1);// broke out of the string.
Ids can come from a restored backup file or a synced catalog. Add
SunSafe.jsArg (JSON.stringify + HTML escape) and use it in all 24
handlers across app-runtime.js and index.html, including the new
banquet-menu ones. Verified locally: an id containing a JS payload
is passed through as a plain string and nothing executes.

Also replace the Settings version label that still showed
v17.6.0 · 2026.09.07 with the current release, and bump the script
cache-busting string so the fix reaches browsers.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-20 12:24:36 +03:00
..
account-center-v1780.js fix: expose manager account and password controls 2026-09-12 10:10:25 +03:00
auth-security-v1774.js fix: fall back to direct Supabase auth on proxy 500 2026-09-14 17:26:32 +03:00
classic-offer-pdf-v1767.js Caterium v17.6.7 — restore classic client proposal PDFs 2026-09-08 07:29:40 +03:00
data-layer-v1773.js perf: stop recomputing the full client list per client on bulk push 2026-09-12 14:08:57 +03:00
developer-console-v1768.js Caterium v17.6.8 — Developer Console UX and error fixes 2026-09-08 07:58:54 +03:00
hotfix-v1763.js Caterium v17.6.5 stability hardening 2026-09-08 05:55:48 +03:00
login-signature-v1776.js fix: use approved Caterium logo on cream login 2026-09-12 05:57:35 +03:00
offer-workspace-v1769.js Caterium v17.6.9 — offer PDF workspace and gallery uploads 2026-09-08 08:21:11 +03:00
ops-ux-v1762.js fix: stop the menu-editor button-patch interval once it succeeds 2026-09-12 14:09:06 +03:00
order-enhancements-v1775.js feat: load Caterium Signature login screen 2026-09-11 19:19:12 +03:00
pdf-engine.js Caterium v17.6.0 - GitHub Cloudflare autodeploy 2026-09-07 15:29:20 +03:00
performance.js fix: allow premium-dark/premium-emerald in template id whitelists 2026-09-16 13:46:15 +03:00
server-automation-v1770.js Caterium v17.7.0 — architecture foundation 2026-09-08 13:24:34 +03:00
signature-offer-pdf-v18.js feat: add visual heading to midnight-checklist menu section 2026-09-16 13:36:09 +03:00
stability-v1760.css Caterium v17.6.0 - GitHub Cloudflare autodeploy 2026-09-07 15:29:20 +03:00
sun-safe.js fix: harden inline handlers against id injection, fix stale version label 2026-09-20 12:24:36 +03:00
trial-promo-developer-v181.js feat: add trial promo management to developer console 2026-09-13 18:44:18 +03:00
ux-fixes-v1764.js fix: allow premium-dark/premium-emerald in template id whitelists 2026-09-16 13:46:15 +03:00