Skip to content

reject parent-directory traversal segment in cleanPath - #96

Open
arib06 wants to merge 1 commit into
joomla-framework:4.x-devfrom
arib06:path-parent-traversal
Open

reject parent-directory traversal segment in cleanPath#96
arib06 wants to merge 1 commit into
joomla-framework:4.x-devfrom
arib06:path-parent-traversal

Conversation

@arib06

@arib06 arib06 commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

reject any .. path component in cleanPath, otherwise a single mid-path .. such as uploads/../config.php is absorbed by the linux pattern and passes the PATH filter unchanged while the equivalent windows backslash form is already rejected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant