Qwik Virtual Attribute Serialization Cross-Site Scripting Vulnerability

Vulnerability

A Cross-Site Scripting vulnerability has been identified in Qwik.js versions prior to 1.19.0. This issue arises from the server-side rendering virtual attribute serialization, which allows remote attackers to inject arbitrary web scripts into server-rendered pages via virtual attributes. Exploitation of this vulnerability enables script execution in the context of the affected origin on the victim's browser. The vulnerability impacts applications that dynamically populate Virtual Node attributes with user-influenced keys or values, while those that hard-code these attributes remain unaffected.

Impact

Exploitation allows for Cross-Site Scripting, with injected scripts executed in the context of the affected origin in the victim's browser.

Reproduction

The vulnerability can be reproduced by creating a Qwik component that uses virtual attributes. Inject a script payload into a virtual attribute value, which will be executed in the context of the affected origin when the server-rendered page is viewed in a browser.

Remediation

Users are advised to update Qwik to version 1.19.0 or later, where this vulnerability has been patched.

Added: Feb 3, 2026, 10:32 PM
Updated: Feb 3, 2026, 10:32 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.7
exploitability
5.4
remediation
7.7
relevance
2.5
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.