Commit Graph
11 Commits
Author SHA1 Message Date
lucioandClaude Opus 4.6 737a48ac30 Fix security vulnerabilities: XSS, cookie hardening, rate limiter bypass, HSTS, and open redirect
- Fix XSS in showToast() by replacing innerHTML with safe DOM construction via textContent
- Add Secure flag to session and CSRF cookies when base_url uses HTTPS
- Prevent rate limiter bypass by only trusting X-Forwarded-For/X-Real-IP from private/loopback IPs
- Add Strict-Transport-Security header when running behind HTTPS
- Validate short link URLs to prevent open redirects (must be http, https, or relative path)
- Remove runtime config.toml file write from slug length update handler
- Pin Docker base image to alpine:3.20 instead of floating latest tag

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-05-21 20:57:47 -07:00
lucio 65e013d728 added missing file 2026-05-21 20:46:16 -07:00
lucio 681a2e1e6d added access control 2026-05-21 20:45:58 -07:00
lucio 00a5a0ec76 Fix clipping of last item actions dropdown menu by opening upwards 2026-05-21 19:46:45 -07:00
lucio 960c375557 Implement non-destructive Remove & Archive lifecycle system across assets, locations, tags, and shortlinks 2026-05-21 18:31:24 -07:00
lucio 3391257f6c Fix asset wizard, config, and optimize QR codes 2026-05-21 03:00:29 -07:00
lucio 96338e6dce Fix HTMX swapped DOM element selection latency and race conditions in Add Asset wizard 2026-05-21 02:37:14 -07:00
lucio e721c5a3fc Invoke initWizard directly to support HTMX AJAX fragment swaps 2026-05-21 02:35:33 -07:00
lucio 50fdae8bb8 Fix html/template string escaping of catalog JSON using safeJS 2026-05-21 02:33:28 -07:00
lucio 92ebb0f65a Implement ultra-friendly selection wizard and 15-category hierarchal catalog 2026-05-21 02:31:23 -07:00
lucio 3d7c232b94 Initial working version 2026-05-21 02:11:11 -07:00