andrewmusselman opened a new issue, #721: URL: https://github.com/apache/tooling-trusted-releases/issues/721
**ASVS Requirement:** 5.3.2 **Description:** Several POST handlers accept file path form fields without calling the existing `form.to_relpath()` validation, despite other handlers in the same files using it correctly (e.g., `draft.py::hashgen` correctly validates). | Handler | Form Field | Validation | |---------|-----------|------------| | `draft.py::delete_file` | `file_path` | ❌ Missing | | `finish.py::_delete_empty_directory` | `directory_to_delete` | ❌ Missing | | `finish.py::_move_file_to_revision` | `source_files`, `target_directory` | ❌ Missing | **CWE:** CWE-22 (Path Traversal) **Recommended remediation:** Add RelPath to docs/user-interface.md -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
