{"id":"CVE-2024-41677","summary":"Cross-site Scripting (XSS) vulnerability due to improper HTML escaping in qwik","details":"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.","aliases":["GHSA-2rwj-7xq8-4gx4"],"modified":"2026-04-10T05:15:51.866554Z","published":"2024-08-06T17:52:14.648Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41677.json","cwe_ids":["CWE-79"],"cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/QwikDev/qwik/blob/v1.5.5/packages/qwik/src/core/render/ssr/render-ssr.ts#L1182-L1208"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41677.json"},{"type":"ADVISORY","url":"https://github.com/QwikDev/qwik/security/advisories/GHSA-2rwj-7xq8-4gx4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41677"},{"type":"FIX","url":"https://github.com/QwikDev/qwik/commit/7e742eb3a1001542d795776c0317d47df8b9d64e"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/qwikdev/qwik","events":[{"introduced":"0"},{"fixed":"7e742eb3a1001542d795776c0317d47df8b9d64e"}]}],"versions":["v0.0.100","v0.0.101","v0.0.102","v0.0.103","v0.0.104","v0.0.105","v0.0.106","v0.0.107","v0.0.108","v0.0.109","v0.0.11","v0.0.110","v0.0.112","v0.0.113","v0.0.12-0","v0.0.12-pre.1","v0.0.13","v0.0.14","v0.0.14-0","v0.0.14-2","v0.0.14-4","v0.0.15","v0.0.16","v0.0.16-0","v0.0.16-1","v0.0.16-10","v0.0.16-12","v0.0.16-13","v0.0.16-2","v0.0.16-4","v0.0.16-5","v0.0.16-6","v0.0.16-7","v0.0.16-8","v0.0.16-9","v0.0.18","v0.0.18-0","v0.0.18-1","v0.0.18-2","v0.0.18-3","v0.0.18-4","v0.0.18-5","v0.0.18-6","v0.0.18-7","v0.0.19","v0.0.19-0","v0.0.19-1","v0.0.19-2","v0.0.20","v0.0.20-0","v0.0.20-1","v0.0.20-2","v0.0.20-3","v0.0.20-4","v0.0.20-5","v0.0.20-7","v0.0.20-8","v0.0.21","v0.0.21-0","v0.0.22","v0.0.23","v0.0.24","v0.0.25","v0.0.26","v0.0.27","v0.0.28","v0.0.29","v0.0.30","v0.0.31","v0.0.32","v0.0.33","v0.0.34","v0.0.35","v0.0.36","v0.0.37","v0.0.38","v0.0.39","v0.0.40","v0.0.41","v0.0.42","v0.10.0","v0.100.0","v0.101.0","v0.102.0","v0.103.0","v0.104.0","v0.105.0","v0.106.0","v0.107.0","v0.11.0","v0.11.1","v0.12.0","v0.12.1","v0.13.0","v0.13.1","v0.13.2","v0.13.3","v0.14.0","v0.14.1","v0.15.0","v0.15.1","v0.15.2","v0.16.0","v0.16.1","v0.16.2","v0.17.0","v0.17.1","v0.17.2","v0.17.3","v0.17.4","v0.17.5","v0.18.0","v0.18.1","v0.19.0","v0.19.1","v0.19.2","v0.20.0","v0.20.1","v0.21.0","v0.22.0","v0.22.1","v0.23.0","v0.24.0","v0.25.0","v0.9.0","v1.0.0","v1.1.0","v1.1.1","v1.1.2","v1.1.3","v1.1.4","v1.1.5","v1.2.0","v1.2.1","v1.2.10","v1.2.11","v1.2.12","v1.2.13","v1.2.14","v1.2.15","v1.2.16","v1.2.17","v1.2.18","v1.2.19","v1.2.2","v1.2.3","v1.2.4","v1.2.5","v1.2.6","v1.2.7","v1.2.8","v1.2.9","v1.3.0","v1.3.1","v1.3.2","v1.3.3","v1.3.4","v1.3.5","v1.4.0","v1.4.1","v1.4.2","v1.4.3","v1.4.4","v1.4.5","v1.5.0","v1.5.1","v1.5.2","v1.5.3","v1.5.4","v1.5.5","v1.5.6","v1.5.7"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-41677.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"}]}