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
..
2026-01-29 18:54:40 +13:00
2025-08-25 01:48:34 +12:00
2026-03-02 23:59:02 +13:00
2025-08-25 01:48:34 +12:00
2025-12-16 02:54:25 +13:00
2026-02-02 16:18:20 +13:00
2026-01-18 19:36:05 +13:00
2025-08-25 01:48:34 +12:00
2025-09-01 19:22:54 +12:00
2025-11-29 20:06:35 +13:00
2025-10-09 10:15:06 +13:00
2026-01-22 14:15:50 +13:00
2025-11-27 14:14:04 +13:00
2025-12-31 14:46:40 +13:00
2025-08-25 01:48:34 +12:00
2026-03-02 23:59:02 +13: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
2026-03-02 23:59:02 +13:00
2026-01-03 22:14:12 +13:00
2026-02-02 00:39:07 +13:00
2025-12-14 10:48:00 +13:00
2026-02-13 11:31:45 +13:00
2026-03-03 00:16:56 +13:00
2026-01-29 17:51:28 +13:00
2026-03-15 23:42:12 +13:00
2026-03-17 21:03:13 +13:00
2026-01-18 19:36:05 +13:00
2025-11-12 01:05:19 +13:00
2025-08-30 21:27:36 +12:00
2026-02-02 20:55:56 +13:00
2025-08-25 01:48:34 +12:00
2025-09-24 02:17:49 +12:00
2026-03-02 23:59:02 +13:00
2026-03-17 21:03:13 +13:00