Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @urql/next
  4. ›
  5. CVE-2024-24556

CVE-2024-24556: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

January 30, 2024

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

  • github.com/advisories/GHSA-qhjf-hm5j-335w
  • github.com/urql-graphql/urql/commit/4b7011b70d5718728ff912d02a4dbdc7f703540d
  • github.com/urql-graphql/urql/security/advisories/GHSA-qhjf-hm5j-335w
  • nvd.nist.gov/vuln/detail/CVE-2024-24556

Code Behaviors & Features

Detect and mitigate CVE-2024-24556 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.1.1

Fixed versions

  • 1.1.1

Solution

Upgrade to version 1.1.1 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/@urql/next/CVE-2024-24556.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:30 +0000.