CVE-2024-23841 json
XSS in @apollo/experimental-nextjs-app-support
published 2024-01-30 2 y ago modified 2026-09-10 59 d ago also GHSA-rv8p-rr2h-fgpg , EUVD-2024-0422
- cvss
- 8.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 32%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm @apollo/experimental-nextjs-app-support 0.7.0
- apollographql apollo_client 0.7.0
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.39% chance of exploitation in the next 30 days, higher than 32% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @apollo/experimental-nextjs-app-support | <0.7.0 |
0.7.0 |
Affected products
- apollographql apollo-client-nextjs
Classification
- Weakness
-
- CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page
- Technology feeds
References
-
github.com
/apollographql/apollo-client-nextjs/commit/b92bc42abd5f8e17d4db361c36bd08e4f541a46b
web, patch
-
github.com
/apollographql/apollo-client-nextjs/security/advisories/GHSA-rv8p-rr2h-fgpg
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-23841
advisory
-
github.com
/apollographql/apollo-client-nextjs
package
Sources
- CVE List CVE-2024-23841
- GitHub Advisory GHSA-rv8p-rr2h-fgpg
- NVD CVE-2024-23841
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.