Advisory

GHSA-92j7-wgmg-f32m

Also known as: CVE-2026-25149

Summary

Qwik City Open Redirect via fixTrailingSlash

Details

Summary

Description
An Open Redirect (CWE-601) vulnerability in Qwik City's default request handler middleware allows a remote attacker to redirect users to arbitrary protocol-relative URLs. Successful exploitation permits attackers to craft convincing phishing links that appear to originate from the trusted domain but redirect the victim to an attacker-controlled site. This affects qwik-city before version 1.19.0. This has been patched in qwik-city version 1.19.0.

Impact
Qwik City automatically applies the fixTrailingSlash middleware to page routes to ensure URL consistency. This vulnerability impacts all Qwik City applications deployed to runtimes that have a catch-all path to match arbitrary domains and that do not automatically normalize URL paths (e.g. Bun).

Exploitation allows an attacker to craft links that trigger a 301 redirect to arbitrary protocol-relative URLs. Browsers interpret this Location header as a protocol-relative URL, redirecting the user to attacker-controlled domains. This can enable phishing attacks and token theft among other common open redirect exploits.

Patches
This has been patched in qwik-city version 1.19.0. Users are strongly encouraged to update to the latest available release.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2026-02-03 20:58 UTC
Modified
2026-02-04 18:06 UTC

Affected packages and fixes

@builder.io/qwik-city

npm · All systems

Affected

  • introduced 0, fixed 1.19.0 (semver)

Fixed versions

1.19.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences