Files island: path-traversal, no delete/paste confirms, silent WebDAV failures #107

Open
opened 2026-04-21 15:23:58 +00:00 by zaelgohary · 0 comments
Member

Bugs

  • Path traversal unchecked on upload, rename, and new-folder. User types ../.. and the operation hits WebDAV as-is.
  • Paste and duplicate fire immediately with no confirmation. Easy to clobber files with a stray right-click.
  • Empty forge_url = silent failure. Every WebDAV call builds a client without checking the URL is set; if forge isn't reachable you get no error, just nothing happens.
  • PDF preview iframe passes download_url() straight into src= with no validation.
  • Mobile download path is a // TODO that just logs.

Why it matters

The first three are real footguns users can hit by accident. The iframe and mobile TODO are lower priority cleanup.

### Bugs - **Path traversal unchecked** on upload, rename, and new-folder. User types `../..` and the operation hits WebDAV as-is. - **Paste and duplicate fire immediately** with no confirmation. Easy to clobber files with a stray right-click. - **Empty `forge_url` = silent failure.** Every WebDAV call builds a client without checking the URL is set; if forge isn't reachable you get no error, just nothing happens. - **PDF preview iframe** passes `download_url()` straight into `src=` with no validation. - Mobile download path is a `// TODO` that just logs. ### Why it matters The first three are real footguns users can hit by accident. The iframe and mobile TODO are lower priority cleanup.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_archipelagos#107
No description provided.