# CVE-2024-24556: XSS in @urql/next

- Severity: High 7.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2024-01-30T17:21:19.964Z
- Modified: 2026-09-10T03:50:09.382Z
- Also known as: GHSA-qhjf-hm5j-335w
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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

(As written by CVE List.)

## Affected

- urql-graphql urql: < 1.1.1
- @urql/next (npm): before 1.1.1
- nearform urql: before 1.1.1

## Every score

- GitHub_M: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/urql-graphql/urql/security/advisories/GHSA-qhjf-hm5j-335w> (vendor-advisory, web)
- <https://github.com/urql-graphql/urql/commit/4b7011b70d5718728ff912d02a4dbdc7f703540d> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-24556> (advisory)
- <https://github.com/urql-graphql/urql> (package)

## Sources

- CVE List: [CVE-2024-24556](https://www.cve.org/CVERecord?id=CVE-2024-24556), CVE Terms of Use, modified 2025-05-29
- GitHub Advisory Database: [GHSA-qhjf-hm5j-335w](https://github.com/advisories/GHSA-qhjf-hm5j-335w), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-24556](https://nvd.nist.gov/vuln/detail/CVE-2024-24556), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-24556 · Whole record: https://cve.day/CVE-2024-24556.json · Rebuilt by cve.day 2026-11-25T22:58:36.450Z
