{"id":"GHSA-92j7-wgmg-f32m","summary":"Qwik City Open Redirect via fixTrailingSlash","details":"### Summary\n\n**Description**\nAn 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.\n\n### Impact\nQwik 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).\n\nExploitation 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.\n\n### Patches\nThis has been patched in qwik-city version 1.19.0. Users are strongly encouraged to update to the latest available release.","aliases":["CVE-2026-25149"],"modified":"2026-02-04T18:06:32.803006Z","published":"2026-02-03T20:58:25Z","database_specific":{"severity":"LOW","github_reviewed":true,"github_reviewed_at":"2026-02-03T20:58:25Z","nvd_published_at":"2026-02-03T22:16:30Z","cwe_ids":["CWE-601"]},"references":[{"type":"WEB","url":"https://github.com/QwikDev/qwik/security/advisories/GHSA-92j7-wgmg-f32m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25149"},{"type":"WEB","url":"https://github.com/QwikDev/qwik/commit/9959eab30a3ad9cc03689eaa080fcfbc33df71ed"},{"type":"PACKAGE","url":"https://github.com/QwikDev/qwik"}],"affected":[{"package":{"name":"@builder.io/qwik-city","ecosystem":"npm","purl":"pkg:npm/%40builder.io/qwik-city"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.19.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-92j7-wgmg-f32m/GHSA-92j7-wgmg-f32m.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L/E:U"}]}