CVE-2026-25148 Qwik SSR XSS via Unsafe Virtual Node Serialization

Medium 5.3 Published Updated

Remote attackers can inject arbitrary scripts into server-rendered pages via unsafe virtual attribute serialization, leading to script execution in victim browsers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-25148?

CVE-2026-25148 is a medium-severity cross-site scripting vulnerability in QwikDev qwik, published on 3 Feb 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Qwik is a performance focused javascript framework. Prior to version 1.19.0, a Cross-Site Scripting vulnerability in Qwik.js' server-side rendering virtual attribute serialization allows a remote attacker to inject arbitrary web scripts into server-rendered pages via virtual attributes. Successful exploitation permits script execution in a victim's browser in the context of the affected origin. This issue has been patched in version 1.19.0.

Weakness: CWE-79

Which versions are affected by CVE-2026-25148?

2 open source packages ship an affected version, including @builder.io/qwik-city. It affects 1 product.

PackageAffectedFixed in
@builder.io/qwik-city npmAll versions1.19.0
@builder.io/qwik-city npmAll versions1.19.0

Products include Qwik Qwik.

How do I fix CVE-2026-25148?

Upgrade @builder.io/qwik-city to 1.19.0 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-25148 being exploited?

There is no known exploitation of CVE-2026-25148 in the wild and no public exploit code.

Sources

Also known as GHSA-m6jq-g7gq-5w3c.

Is CVE-2026-25148 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free