bitr8 5ed40a3832
fix: path traversal in overlay template export (#513)
The overlay template export endpoints resolve asset paths with a
fallback to path.join(cwd, assetPath), allowing arbitrary file reads
via crafted asset paths.

- Remove unrestricted cwd fallback from both export endpoints
- Restrict resolution to config/uploads/ and config/posters/
- Add path.resolve() containment check

Co-authored-by: bitr8 <bitr8@users.noreply.github.com>
2026-03-17 21:03:13 +13:00
..
2025-08-25 01:48:34 +12:00
2025-08-25 01:48:34 +12:00
2025-08-25 01:48:34 +12:00
2025-09-01 19:22:54 +12:00
2025-08-25 01:48:34 +12:00
2025-12-14 17:39:14 +13:00
2025-08-25 01:48:34 +12:00
2025-08-25 01:48:34 +12:00
2025-08-30 21:27:36 +12:00
2025-08-25 01:48:34 +12:00