CVE-2024-23841
JavaScript vulnerability analysis and mitigation

Overview

The @apollo/experimental-apollo-client-nextjs NPM package, which provides Apollo Client support for the Next.js App Router, was found to contain a cross-site scripting (XSS) vulnerability. The vulnerability was discovered on January 30, 2024, and affects all versions up to and including 0.6.0 (GitHub Advisory).

Technical details

The vulnerability stems from improper handling of untrusted input during server-side rendering of HTML pages. The issue has been assigned CVE-2024-23841 and received a CVSS v3.1 base score of 8.2 (HIGH) with a vector string of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N, indicating a network-exploitable vulnerability requiring no privileges or user interaction (NVD).

Impact

An attacker could exploit this vulnerability by either injecting malicious input through specifically-crafted links or by arranging to have malicious input returned by a GraphQL server (e.g., by persisting it in a database). The successful exploitation could lead to cross-site scripting attacks (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in version 0.7.0 of the package by implementing appropriate escaping to prevent JavaScript injection into rendered pages. Users are strongly advised to update to version 0.7.0 or later, as there are no known workarounds for this issue (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22610HIGH8.5
  • JavaScriptJavaScript
  • angular.js
NoYesJan 10, 2026
CVE-2026-22595HIGH8.1
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22594HIGH8.1
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22596MEDIUM6.7
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22597LOW2
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management