mirror of
https://github.com/agregarr/agregarr.git
synced 2026-03-30 00:02:40 +08:00
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>