Skip to content
OpenAdvisories
High · 7.2 CVE-2024-24556 EUVD-2024-0403GHSA-qhjf-hm5j-335w

XSS in @urql/next

Published Jan 30, 2024 · Updated May 29, 2025 · 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

Affected products

VendorProductAffectedFixed
urql-graphql urql < 1.1.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @urql/next < 1.1.1 1.1.1 GHSA-qhjf-hm5j-335w

References