CVE-2024-24556 XSS in @urql/next

High 7.2 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2024-24556?

CVE-2024-24556 is a high-severity vulnerability in urql-graphql urql, published on 30 Jan 2024.

Official 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

Weakness: CWE-79

Which versions are affected by CVE-2024-24556?

2 open source packages ship an affected version, including @urql/next. It affects 1 product.

PackageAffectedFixed in
@urql/next npmAll versions1.1.1
@urql/next npmAll versions1.1.1

Products include Nearform Urql.

How do I fix CVE-2024-24556?

Upgrade @urql/next to 1.1.1 or later.

Is CVE-2024-24556 being exploited?

There is no known exploitation of CVE-2024-24556 in the wild and no public exploit code.

Sources

Also known as GHSA-qhjf-hm5j-335w.

Is CVE-2024-24556 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free