{"id":"CVE-2024-23841","aliases":["CVE-2024-23841","GHSA-rv8p-rr2h-fgpg"],"related":[],"kind":"vulnerability","state":"published","title":"XSS in @apollo/experimental-nextjs-app-support","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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nThe @apollo/experimental-apollo-client-nextjs NPM package is vulnerable to a cross-site scripting vulnerability. This vulnerability arises from improper handling of untrusted input when @apollo/experimental-apollo-client-nextjs performs server-side rendering of HTML pages. To fix this vulnerability, we implemented appropriate escaping to prevent javascript injection into rendered pages.\n\n### Patches\n\nTo fix this issue, please update to version 0.7.0 or later.\n\n### Workarounds\n\nThere are no known workarounds for this issue. Please update to version 0.7.0","format":"markdown","source":"ghsa"},{"lang":"es","text":"apollo-client-nextjs es el soporte del cliente Apollo para el enrutador de aplicaciones Next.js. El paquete NPM @apollo/experimental-apollo-client-nextjs es afectado por una vulnerabilidad de cross site scripting. Para aprovechar esta vulnerabilidad, un atacante necesitaría inyectar información maliciosa (por ejemplo, redirigiendo a un usuario a un enlace manipulado específicamente) o hacer arreglos para que un servidor GraphQL devuelva la información maliciosa (por ejemplo, persistiéndola en una base de datos). Para solucionar este problema, actualice a la versión 0.7.0 o posterior.","source":"nvd"}],"published":"2024-01-30T17:14:12.023Z","modified":"2026-09-10T03:50:05.174Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-80"],"affected":[{"ranges":[{"version":"< 0.7.0","status":"affected"}],"vendor":"apollographql","product":"apollo-client-nextjs","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.7.0"}],"ecosystem":"npm","package":"@apollo/experimental-nextjs-app-support","purl":"pkg:npm/%40apollo/experimental-nextjs-app-support","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.7.0"}],"vendor":"apollographql","product":"apollo_client","cpe":"cpe:2.3:a:apollographql:apollo_client:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/apollographql/apollo-client-nextjs/security/advisories/GHSA-rv8p-rr2h-fgpg","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/apollographql/apollo-client-nextjs/commit/b92bc42abd5f8e17d4db361c36bd08e4f541a46b","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23841","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/apollographql/apollo-client-nextjs","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-01-31T15:44:58.053Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-23841","url":"https://www.cve.org/CVERecord?id=CVE-2024-23841","licence":"CVE Terms of Use","modified":"2025-06-17T21:29:18.891Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rv8p-rr2h-fgpg","url":"https://github.com/advisories/GHSA-rv8p-rr2h-fgpg","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:05.174Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-23841","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23841","licence":"Public domain","modified":"2026-06-17T07:13:43.223Z"}],"updatedAt":"2026-11-25T22:58:36.450Z","epss":{"score":0.00385,"percentile":0.34656,"date":"2026-12-01T12:00:22.000Z"}}