Skip to content

v1.1.1

Choose a tag to compare

@DevlinDelFuego DevlinDelFuego released this 05 May 03:16
· 3 commits to main since this release

What's new in v1.1.1

Security hardening

  • CSP nonces on all 7 HTML pages — removed unsafe-inline from script-src
  • HSTS enabled (configurable via HSTS_MAX_AGE env var)
  • HTML, SVG, and XML uploads blocked by default to prevent inline XSS
  • Upgraded file-type to v22 (DoS fix) and uuid to v14 (buffer overflow fix)
  • Stored XSS fix: replaced inline onclick with event delegation + data-* attributes
  • Rate limiter now prefers CF-Connecting-IP / X-Real-IP over spoofable X-Forwarded-For
  • Production startup aborts if SESSION_SECRET or ADMIN_PASSWORD are left at defaults
  • Slug length capped at 80 characters

New features

  • Settings page (/admin/settings): configure blocked file extensions and MIME types from the UI; Reset to Defaults button included
  • Bulk ZIP download: select files on the All Files page and download them as a ZIP, grouped by share
  • Dynamic blocklist: blocked extensions/MIME types are stored in the DB and read per upload, changes take effect immediately without a restart

Hosting compatibility

  • New HSTS_MAX_AGE env var (set to 0 to disable if your reverse proxy already sends HSTS)
  • New CLOUDFLARE_BEACON env var (set to true to allow Cloudflare Analytics in CSP)
  • docker-compose.yml now documents all env vars with comments for local, reverse proxy, and Cloudflare setups