Skip to content

File‑System Path Safety #10

@Emperor42

Description

@Emperor42

writeFormFile constructs file paths with filepath.Join(storageDir, base+".html") but does not sanitize base. Although base is generated internally, future changes could allow user‑controlled values, leading to directory traversal.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Scheduled

Relationships

None yet

Development

No branches or pull requests

Issue actions