Skip to content

Fix include tag being vulnerable to path traversal#118

Merged
markstory merged 1 commit into
2.xfrom
fix-issues
Jun 20, 2026
Merged

Fix include tag being vulnerable to path traversal#118
markstory merged 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
@markstory markstory merged commit 4193685 into 2.x Jun 20, 2026
8 checks passed
@markstory markstory deleted the fix-issues branch June 20, 2026 04:20
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