CVE-2024-24556

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in npm/@urql/next

Identifiers

GHSA-qhjf-hm5j-335w, CVE-2024-24556

Package Slug

npm/@urql/next

Vulnerability

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

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 Versions

All versions before 1.1.1

Solution

Upgrade to version 1.1.1 or above.

Last Modified

2024-01-31

source