Skip to main content
CVE-2024-24556VulnerabilityPublished Updated

CVE-2024-24556: urql · Cross-site Scripting

Affects urqlSource CVE Database V5

0

Not known to be exploited · CVSS 7.2 High : upgrade to 1.1.1 soon.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
7.2High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 28% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.1.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Jan 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Upgrade @urql/next to 1.1.1.

Affected software

ProductAffectedFixed in
npm@urql/nextpkg:npm/@urql/nextOther threatsAffected
  • <1.1.1
Fixed in
  • 1.1.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should prioritize upgrading all instances of urql, especially the @urql/next package, to version 1.1.1 or later to remediate this vulnerability. Beyond upgrading, developers should audit their use of streamed responses to ensure that any user-generated or external content is properly sanitized before being included in responses. Implement Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts and reduce the impact of potential XSS attacks. Regularly conduct security code reviews and penetration testing focusing on injection vulnerabilities in GraphQL clients and APIs. Employ runtime application self-protection (RASP) tools that can detect and block malicious script execution in real time. Finally, monitor web application logs and user reports for signs of suspicious activity that could indicate exploitation attempts.

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

References

Community reviews

Loading reviews…