CVE-2026-25149: @builder.io/qwik city Qwik City Open Redirect Vulnerability

LOW
Advisory Identifier: GHSA-92j7-wgmg-f32m
CWE-601
Published
Advisory Summary

CVE-2026-25149 is a LOW qwik city open redirect vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting @builder.io/qwik city libraries in the npm ecosystem. The issue involves qwik city open redirect via fixtrailingslash. Remediation is available by upgrading affected packages to version 1.19.0.

CVE-2026-25149 at a Glance

CVE Identifier CVE-2026-25149
GHSA Identifier GHSA-92j7-wgmg-f32m
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
Affected Product @builder.io/qwik city
Package Ecosystem npm
Published Date
Last Updated

How to Fix CVE-2026-25149

To remediate this vulnerability, upgrade all affected @builder.io/qwik city dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@builder.io/qwik-city fixed: 1.19.0
npm install @builder.io/qwik-city@1.19.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @builder.io/qwik-city

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-25149, inspect your project dependencies using npm:

npm ls @builder.io/qwik-city

Analyze the terminal output to locate any version of @builder.io/qwik city in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.19.0), your application is affected.

Note: The npm ls @builder.io/qwik-city command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In @builder.io/qwik city, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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.

CVE-2026-25149 Affected @builder.io/qwik city Versions

1 component(s)
Fixed Versions:
1.19.0
Product / Package Ecosystem Affected Versions Fixed Version
@builder.io/qwik-city
npm
< 1.19.0
1.19.0

References

Frequently Asked Questions

What is CVE-2026-25149?
CVE-2026-25149 is a security vulnerability in @builder.io/qwik city involving Qwik City Open Redirect via fixTrailingSlash under CWE-601: URL Redirection to Untrusted Site ('Open Redirect').
Which @builder.io/qwik city versions are affected?
Affected versions include releases prior to 1.19.0 across affected packages: @builder.io/qwik-city.
What version fixes CVE-2026-25149?
Upgrading to 1.19.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @builder.io/qwik-city affected?
Yes, @builder.io/qwik-city is affected in releases prior to 1.19.0. Upgrade your dependency to 1.19.0 or later.
What CWE is associated with CVE-2026-25149?
CVE-2026-25149 is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect') (The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.).
How can I check npm dependencies for CVE-2026-25149?
Run the dependency tree command: 'npm ls @builder.io/qwik-city'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-92j7-wgmg-f32m",
  "modified" : "2026-02-04T17:45:51Z",
  "published" : "2026-02-03T20:58:25Z",
  "aliases" : [ "CVE-2026-25149" ],
  "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.",
  "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@builder.io/qwik-city"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.19.0"
      } ]
    } ]
  } ],
  "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"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-601" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-02-03T20:58:25Z",
    "nvd_published_at" : "2026-02-03T22:16:30Z"
  }
}