CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2024-23841: XSS in @apollo/experimental-nextjs-app-support

8.2 CVSS

Description

apollo-client-nextjs is the Apollo Client support for the Next.js App Router. The @apollo/experimental-apollo-client-nextjs NPM package is vulnerable to a cross-site scripting vulnerability. To exploit this vulnerability, an attacker would need to either inject malicious input (e.g. by redirecting a user to a specifically-crafted link) or arrange to have malicious input be returned by a GraphQL server (e.g. by persisting it in a database). To fix this issue, please update to version 0.7.0 or later.

Classification

CVE ID: CVE-2024-23841

CVSS Base Severity: HIGH

CVSS Base Score: 8.2

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Problem Types

CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)

Affected Products

Vendor: apollographql

Product: apollo-client-nextjs

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.5% (probability of being exploited)

EPSS Percentile: 64.74% (scored less or equal to compared to others)

EPSS Date: 2025-06-27 (when was this score calculated)

Stakeholder-Specific Vulnerability Categorization (SSVC)

SSVC Exploitation: none

SSVC Technical Impact: partial

SSVC Automatable: false

References

https://nvd.nist.gov/vuln/detail/CVE-2024-23841
https://github.com/apollographql/apollo-client-nextjs/security/advisories/GHSA-rv8p-rr2h-fgpg
https://github.com/apollographql/apollo-client-nextjs/commit/b92bc42abd5f8e17d4db361c36bd08e4f541a46b

Timeline