Files
ecommerce-platform/app
davide 2a6c3a1222 fix(security): validate file uploads with magic bytes, remove SVG from favicon whitelist
- Add validateImageMagicBytes() to storage.ts reading first 12 bytes
  to verify JPEG/PNG/WebP/ICO signatures regardless of declared MIME type
- Remove image/svg+xml from favicon upload whitelist (SVG can embed scripts)
- Apply magic bytes check in product image and favicon upload endpoints
2026-05-19 10:09:53 +02:00
..
2026-05-18 15:25:38 +02:00
2026-05-18 15:25:38 +02:00
2026-05-18 15:25:38 +02:00
2026-05-18 15:25:38 +02:00
2026-05-18 15:25:38 +02:00
2026-05-18 15:25:38 +02:00
2026-05-18 15:25:38 +02:00
2026-05-18 15:25:38 +02:00
2026-05-18 15:25:38 +02:00