Vulnerabilities/

Nitro has an Open Redirect via Protocol-Relative URL Bypass in Wildcard Route Rules

Severity:
Medium

Description

A redirect route rule like:

is intended to rewrite paths within the same host. Before the patch, an attacker could turn the rewrite into a cross-host redirect by sliding an extra slash in after the rule prefix. Example exploit:

Nitro stripped /legacy from the matched pathname and joined the remainder against the rule’s target.

Recommendation

Update the nitropack package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
nitropack
Anything's wrong? Let us know Last updated on June 09, 2026