| Title | HBAI-Ltd Toonflow 1.1.1 Path Traversal Leading to Arbitrary File Read |
|---|
| Description | A three-step attack chain allows any authenticated user to read arbitrary files from the server via the storyboard export feature:
Inject malicious filePath into the o_storyboard database table via updateStoryboardUrl — the replaceUrl() function fails to sanitize non-URL strings, returning path traversal payloads unchanged
Trigger file read via exportImage — the endpoint uses path.join(getPath("oss"), item.filePath!) without isPathInside() validation, allowing the crafted filePath to escape the OSS directory
Exfiltrate file contents — the file is included in the downloaded ZIP archive |
|---|
| Source | ⚠️ https://github.com/HBAI-Ltd/Toonflow-app/issues/97 |
|---|
| User | Yu-Bao (UID 96702) |
|---|
| Submission | 04/08/2026 11:07 (3 months ago) |
|---|
| Moderation | 04/26/2026 10:16 (18 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 359661 [HBAI-Ltd Toonflow-app up to 1.1.1 Storyboard Export replaceUrl.ts updateStoryboardUrl url path traversal] |
|---|
| Points | 20 |
|---|