{"id":"CVE-2024-41677","published":"2024-08-06T17:52:14Z","modified":"2024-08-08T19:04:29Z","title":"Cross-site Scripting (XSS) vulnerability due to improper HTML escaping in qwik","vendor":"QwikDev","product":"qwik","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00497,"percentile":0.43535,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/QwikDev/qwik/security/advisories/GHSA-2rwj-7xq8-4gx4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/QwikDev/qwik/commit/7e742eb3a1001542d795776c0317d47df8b9d64e","tags":["x_refsource_MISC"]},{"url":"https://github.com/QwikDev/qwik/blob/v1.5.5/packages/qwik/src/core/render/ssr/render-ssr.ts#L1182-L1208","tags":["x_refsource_MISC"]}],"priority":{"score":13.1,"factors":[{"name":"EPSS percentile","points":8.71},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"qwikdev","affectedVersions":[{"vendor":"QwikDev","product":"qwik","versions":["@builder.io/qwik: < 1.7.3","qwik: < 1.6.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-08T19:02:06.566486Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@builder.io/qwik","vulnerableRanges":["<1.7.3"],"patched":["1.7.3"],"from":["GHSA-2rwj-7xq8-4gx4"],"provenance":"source"}],"summary":{"text":"Qwik, the performance-focused JavaScript framework from QwikDev, contains a cross-site scripting flaw in its server-side rendering HTML escaping logic (in the render-ssr.ts component), where server-generated markup can be mutated by the browser into a different DOM than Qwik expects. An attacker who can get a victim to interact with a crafted page, without needing an account or privileged network position, can use this mutation XSS to run script in the victim's browser; the flaw is present in versions before 1.6.0.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:45:35Z"},"euvd":{"id":"EUVD-2024-2469","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-0410","published":"2023-01-20","fixed":"0.16.2","kev":false},{"cve":"CVE-2023-1283","published":"2023-03-08","fixed":"0.21.0","kev":false},{"cve":"CVE-2024-41677","published":"2024-08-06","fixed":"1.7.3","kev":false},{"cve":"CVE-2026-27971","published":"2026-03-03","fixed":"1.19.1","kev":false,"link":{"from":"CVE-2024-41677","to":"CVE-2026-27971","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@builder.io/qwik","fromFixed":"1.7.3","toFixed":"1.19.1","daysApart":574}]}},{"cve":"CVE-2026-84994","published":"2026-10-13","fixed":"1.20.0","kev":false}],"package":"npm:@builder.io/qwik"}}