Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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