CVE-2026-25148 Qwik SSR XSS via Unsafe Virtual Node Serialization
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.
| Package | Affected | Fixed in |
|---|---|---|
@builder.io/qwik-city npm | All versions | 1.19.0 |
@builder.io/qwik-city npm | All versions | 1.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.
Other vulnerabilities in QwikDev qwik
- CVE-2023-1283 Code Injection in builderio/qwik
- CVE-2026-25150 Prototype Pollution via FormData Processing in Qwik City
- CVE-2026-27971 Qwik affected by unauthenticated RCE via server$ Deserialization
- CVE-2026-32701 Qwik has array method pollution in FormData processing, allowing type confusion and DoS
- CVE-2024-41677 Cross-site Scripting (XSS) vulnerability due to improper HTML escaping in qwik
Sources
Also known as GHSA-m6jq-g7gq-5w3c.