{"id":"CVE-2024-23841","summary":"XSS in @apollo/experimental-nextjs-app-support","details":"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.","aliases":["GHSA-rv8p-rr2h-fgpg"],"modified":"2026-04-10T05:11:46.646694Z","published":"2024-01-30T17:14:12.023Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/23xxx/CVE-2024-23841.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-80"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/23xxx/CVE-2024-23841.json"},{"type":"ADVISORY","url":"https://github.com/apollographql/apollo-client-nextjs/security/advisories/GHSA-rv8p-rr2h-fgpg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23841"},{"type":"FIX","url":"https://github.com/apollographql/apollo-client-nextjs/commit/b92bc42abd5f8e17d4db361c36bd08e4f541a46b"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apollographql/apollo-client","events":[{"introduced":"0"},{"fixed":"748fa72ee1c23d5bb1e6534e2f7dba32cb5a31e7"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"0.7.0"}]}}],"versions":["v0.0.4","v0.0.5","v0.1.0","v0.1.1","v0.1.2","v0.1.3","v0.1.4","v0.2.1","v0.2.2","v0.2.3","v0.2.4","v0.2.5","v0.3.0","v0.3.1","v0.3.3","v0.3.4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-23841.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/apollographql/apollo-client-integrations","events":[{"introduced":"0"},{"fixed":"b92bc42abd5f8e17d4db361c36bd08e4f541a46b"}]}],"versions":["v.0.3.5","v.0.4.0","v.0.4.1","v.0.4.2","v.0.4.3","v.0.5.0","v.0.5.1","v.0.6.0","v0.1.0","v0.2.0","v0.2.1","v0.2.2","v0.3.0","v0.3.1","v0.3.2","v0.3.3","v0.3.4","v0.5.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-23841.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/apollographql/apollo-client-nextjs","events":[{"introduced":"0"},{"fixed":"b92bc42abd5f8e17d4db361c36bd08e4f541a46b"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"0.7.0"}]}}],"versions":["v.0.3.5","v.0.4.0","v.0.4.1","v.0.4.2","v.0.4.3","v.0.5.0","v.0.5.1","v.0.6.0","v0.1.0","v0.2.0","v0.2.1","v0.2.2","v0.3.0","v0.3.1","v0.3.2","v0.3.3","v0.3.4","v0.5.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-23841.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N"}]}