You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
hardening(quicktree): sanitize location parameter before header() redirects #8
get_nfilter_request_var('location') returns the raw, unfiltered request value. At quicktree.php:208 and quicktree.php:336 that value is embedded directly in header('Location: ...') calls without stripping CRLF characters or URL-encoding the output. A location value containing \r\n injects arbitrary HTTP response headers. PHP 8.x throws ValueError on CRLF in header(), but PHP 7.x deployments are silently exploitable.
changed the title [-]hardening(quicktree): sanitize location parameter to prevent header injection in redirects[/-][+]hardening(quicktree): sanitize location parameter before header() redirects[/+]on Mar 10, 2026
The location value is now restricted to 'console' or 'tab' before it is used (#47). This is on main and not in a tagged release yet. Verified on main (d560051).
Activity
[-]hardening(quicktree): sanitize location parameter to prevent header injection in redirects[/-][+]hardening(quicktree): sanitize location parameter before header() redirects[/+]somethingwithproof commentedon Mar 10, 2026
Closing public issue — moving to private security advisory per responsible disclosure policy.
somethingwithproof commentedon Oct 24, 2026
The location value is now restricted to 'console' or 'tab' before it is used (#47). This is on main and not in a tagged release yet. Verified on main (d560051).