Skip to content

Fix include tag being vulnerable to path traversal#118

Open
markstory wants to merge 1 commit into
2.xfrom
fix-issues
Open

Fix include tag being vulnerable to path traversal#118
markstory wants to merge 1 commit into
2.xfrom
fix-issues

Conversation

@markstory

Copy link
Copy Markdown
Member

Ensure that all relative and absolute file paths are contained by a template path. We're looking at the string values so that any ../ tricks don't work.

Thanks to Volker Dusch and the PHP Ecosystem security team for reporting this.

Ensure that all relative and absolute file paths are contained by
a template path. We're looking at the string values so that any `../`
tricks don't work.

Thanks to Volker Dusch and the PHP Ecosystem security team for reporting this.
@markstory markstory added this to the 2.x milestone Jun 19, 2026
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