CVE-2024-23841 in Apollographql Apollo Client
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 specif...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, can impact systems beyond the vulnerable component, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Apollographql | Apollo Client | < 0.7.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-23841 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-189265-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Published | 2024-01-30 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-80: CWE-80
Related attack patterns (CAPEC)
CAPEC-18 XSS Targeting Non-Script Elements via CWE-80
CAPEC-32 XSS Through HTTP Query Strings via CWE-80
CAPEC-86 XSS Through HTTP Headers via CWE-80
CAPEC-193 PHP Remote File Inclusion via CWE-80
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
The @apollo/experimental-apollo-client-nextjs NPM package is vulnerable to a cross-site scripting (XSS) vulnerability, which could allow an attacker to inject malicious scripts into a user's browser session.
An attacker could exploit this vulnerability by injecting malicious input, such as through a crafted URL or by manipulating the response from a GraphQL server to include malicious scripts. This could lead to unauthorized actions being performed on behalf of the user.
Questions
What is CVE-2024-23841?
The @apollo/experimental-apollo-client-nextjs NPM package is vulnerable to a cross-site scripting (XSS) vulnerability, which could allow an attacker to inject malicious scripts into a user's browser session.
What is the CVSS score for CVE-2024-23841?
CVE-2024-23841 has CVSS 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N. EPSS: 0.5%.
Is CVE-2024-23841 actively exploited?
No confirmed active exploitation of CVE-2024-23841 as of 2026-05-30.
How do I remediate CVE-2024-23841?
Priority: MEDIUM. PSIRT: [email protected]
What systems are affected by CVE-2024-23841?
CVE-2024-23841 affects Apollographql Apollo Client.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Apollographql","product":"Apollo Client","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.