{"id":"CVE-2024-24556","aliases":["CVE-2024-24556","GHSA-qhjf-hm5j-335w"],"related":[],"kind":"vulnerability","state":"published","title":"XSS in @urql/next","summary":"urql is a GraphQL client that exposes a set of helpers for several frameworks.  The `@urql/next` package is vulnerable to XSS. To exploit this an attacker would need to ensure that the response returns `html` tags and that the web-application is using streamed responses (non-RSC). This vulnerability is due to improper escaping of html-like characters in the response-stream. To fix this vulnerability upgrade to version 1.1.1","summarySource":"cvelist","descriptions":[{"lang":"en","text":"urql is a GraphQL client that exposes a set of helpers for several frameworks.  The `@urql/next` package is vulnerable to XSS. To exploit this an attacker would need to ensure that the response returns `html` tags and that the web-application is using streamed responses (non-RSC). This vulnerability is due to improper escaping of html-like characters in the response-stream. To fix this vulnerability upgrade to version 1.1.1","source":"cvelist"},{"lang":"en","text":"## impact\n\nThe `@urql/next` package is vulnerable to XSS. To exploit this an attacker would need to ensure that the response returns `html` tags and that the web-application is using streamed responses (non-RSC). This vulnerability is due to improper escaping of html-like characters in the response-stream.\n\nTo fix this vulnerability upgrade to version 1.1.1","format":"markdown","source":"ghsa"},{"lang":"es","text":"urql es un cliente GraphQL que expone un conjunto de ayudas para varios marcos. El paquete `@urql/next` es vulnerable a XSS. Para explotar esto, un atacante debería asegurarse de que la respuesta devuelva etiquetas \"html\" y que la aplicación web utilice respuestas transmitidas (no RSC). Esta vulnerabilidad se debe a un escape inadecuado de caracteres tipo html en el flujo de respuesta. Para corregir esta vulnerabilidad, actualice a la versión 1.1.1","source":"nvd"}],"published":"2024-01-30T17:21:19.964Z","modified":"2026-09-10T03:50:09.382Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","score":7.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","score":7.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","score":7.2,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 1.1.1","status":"affected"}],"vendor":"urql-graphql","product":"urql","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.1.1"}],"ecosystem":"npm","package":"@urql/next","purl":"pkg:npm/%40urql/next","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.1.1"}],"vendor":"nearform","product":"urql","cpe":"cpe:2.3:a:nearform:urql:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/urql-graphql/urql/security/advisories/GHSA-qhjf-hm5j-335w","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/urql-graphql/urql/commit/4b7011b70d5718728ff912d02a4dbdc7f703540d","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-24556","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/urql-graphql/urql","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-05-08T15:42:34.603Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-24556","url":"https://www.cve.org/CVERecord?id=CVE-2024-24556","licence":"CVE Terms of Use","modified":"2025-05-29T15:04:39.987Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qhjf-hm5j-335w","url":"https://github.com/advisories/GHSA-qhjf-hm5j-335w","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:09.382Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-24556","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-24556","licence":"Public domain","modified":"2026-06-17T07:14:36.003Z"}],"updatedAt":"2026-11-25T22:58:36.450Z","epss":{"score":0.00355,"percentile":0.31271,"date":"2026-12-01T12:00:22.000Z"}}