CVE-2024-23841 XSS in @apollo/experimental-nextjs-app-support
MediumCVSS 6.1
EPSS 0.39%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| apollo @apollo/experimental-nextjs-app-support(npm) | < 0.7.0; <= 0.6.0 | 0.7.0 | Fixed |
| apollographql apollo client | < 0.7.0 | 0.7.0 | Fixed |
| apollographql apollo-client-nextjs | = < 0.7.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| apollo @apollo/experimental-nextjs-app-support(npm) | <= 0.6.0 | No fix listed |
| apollographql apollo-client-nextjs | = < 0.7.0 | No fix listed |
| apollographql apollo client | < 0.7.0 | 0.7.0 |
| apollo @apollo/experimental-nextjs-app-support(npm) | < 0.7.0 | 0.7.0 |
References
- https://github.com/apollographql/apollo-client-nextjs/security/advisories/GHSA-rv8p-rr2h-fgpg vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/apollographql/apollo-client-nextjs/commit/b92bc42abd5f8e17d4db361c36bd08e4f541a46b patch
- github.com
- github.com product