Skip to content

CVE-2024-24556 XSS in @urql/next

MediumCVSS 6.1 EPSS 0.36%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
nearform urql < 1.1.1 1.1.1 Fixed
urql @urql/next(npm) < 1.1.1 1.1.1 Fixed
urql-graphql urql = < 1.1.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
urql @urql/next(npm) < 1.1.1 1.1.1
urql-graphql urql = < 1.1.1 No fix listed
nearform urql < 1.1.1 1.1.1

References