Medium severity · published Aug 6, 2024
CVE-2024-41677
Qwik is a performance focused javascript framework
6.1
CVSS
0.5%
EPSS
No
On KEV
Description
Qwik is a performance focused javascript framework. A potential mutation XSS vulnerability exists in Qwik for versions up to but not including 1.6.0. Qwik improperly escapes HTML on server-side rendering. It converts strings according to the rules found in the `render-ssr.ts` file. It sometimes causes the situation that the final DOM tree rendered on browsers is different from what Qwik expects on server-side rendering. This may be leveraged to perform XSS attacks, and a type of the XSS is known as mXSS (mutation XSS). This has been resolved in qwik version 1.6.0 and @builder.io/qwik version 1.7.3. All users are advised to upgrade. There are no known workarounds for this vulnerability.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 42% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
QW
Qwik · Qwik
before 1.7.3 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-41677
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-41677
Product
https://github.com/QwikDev/qwik/blob/v1.5.5/packages/qwik/src/core/render/ssr/render-ssr.ts#L1182-L1208
Patch
https://github.com/QwikDev/qwik/commit/7e742eb3a1001542d795776c0317d47df8b9d64e
Exploit
https://github.com/QwikDev/qwik/security/advisories/GHSA-2rwj-7xq8-4gx4
More from Qwik
10.0
CVE-2026-25150
Prototype Pollution via FormData Processing in Qwik City
9.8
CVE-2026-27971
Qwik affected by unauthenticated RCE via server$ Deserialization
9.8
CVE-2023-1283
Code Injection in GitHub repository builderio/qwik prior to 0.21.0
7.5
CVE-2026-32701
Qwik has array method pollution in FormData processing, allowing type confusion and DoS
7.1
CVE-2026-25155
[qwik-city] CSRF protection middleware does not work properly for content type header with parameters (eg. multipart/form-data)
