{"id":"CVE-2024-23841","published":"2024-01-30T17:14:12Z","modified":"2025-06-17T21:29:18Z","title":"XSS in @apollo/experimental-nextjs-app-support","vendor":"apollographql","product":"apollo-client-nextjs","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00385,"percentile":0.33401,"provenance":"source"},"cwes":[{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"}],"references":[{"url":"https://github.com/apollographql/apollo-client-nextjs/security/advisories/GHSA-rv8p-rr2h-fgpg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/apollographql/apollo-client-nextjs/commit/b92bc42abd5f8e17d4db361c36bd08e4f541a46b","tags":["x_refsource_MISC"]}],"priority":{"score":12.4,"factors":[{"name":"EPSS percentile","points":6.68},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"apollographql","affectedVersions":[{"vendor":"apollographql","product":"apollo-client-nextjs","versions":["< 0.7.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-01-31T15:44:58.053963Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@apollo/experimental-nextjs-app-support","vulnerableRanges":["<0.7.0"],"patched":["0.7.0"],"from":["GHSA-rv8p-rr2h-fgpg"],"provenance":"source"}],"summary":{"text":"A cross-site scripting flaw exists in the Apollo Client support for the Next.js App Router, specifically within the @apollo/experimental-apollo-client-nextjs NPM package of the apollo-client-nextjs product. An attacker who can inject malicious input, such as through a specially crafted link that redirects a user, or by having malicious data persisted in a database and returned by a GraphQL server, can get the script to execute in a victim's browser, with no authentication or network-level privileges required beyond delivering that input.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:46:56Z"},"euvd":{"id":"EUVD-2024-0422","exploited":false,"provenance":"source"}}