caterium-app/public
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
..
catalog Caterium v17.6.0 - GitHub Cloudflare autodeploy 2026-09-07 15:29:20 +03:00
core fix: harden inline handlers against id injection, fix stale version label 2026-09-20 12:24:36 +03:00
legacy Caterium v17.7.3 — clients server read 2026-09-09 12:07:37 +03:00
offer-gallery Caterium v17.6.0 - GitHub Cloudflare autodeploy 2026-09-07 15:29:20 +03:00
offer-templates Caterium v17.6.0 - GitHub Cloudflare autodeploy 2026-09-07 15:29:20 +03:00
.htaccess fix: prevent stale auth shell on Timeweb 2026-09-12 08:12:11 +03:00
app-runtime.js fix: harden inline handlers against id injection, fix stale version label 2026-09-20 12:24:36 +03:00
caterium-login-logo.png Caterium v17.6.0 - GitHub Cloudflare autodeploy 2026-09-07 15:29:20 +03:00
caterium-mark-light.svg feat: add approved Caterium mark for light login 2026-09-12 05:56:39 +03:00
index.html fix: harden inline handlers against id injection, fix stale version label 2026-09-20 12:24:36 +03:00
manifest.webmanifest brand: update PWA identity to Caterium 2026-09-11 10:03:25 +03:00
pwa-icon-192.png Caterium v17.6.0 - GitHub Cloudflare autodeploy 2026-09-07 15:29:20 +03:00
pwa-icon-512.png Caterium v17.6.0 - GitHub Cloudflare autodeploy 2026-09-07 15:29:20 +03:00
refresh-login-20260912.html fix: add one-click PWA cache refresh for login 2026-09-12 08:27:31 +03:00
service-worker.js fix: align safe service worker with release cache guard 2026-09-14 17:10:16 +03:00
sun-logo.png Caterium v17.6.0 - GitHub Cloudflare autodeploy 2026-09-07 15:29:20 +03:00