{"id":"GHSA-rv8p-rr2h-fgpg","summary":"@apollo/experimental-nextjs-app-support Cross-site Scripting vulnerability","details":"### 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\n\n","aliases":["CVE-2024-23841"],"modified":"2026-09-10T03:50:05.174016048Z","published":"2024-01-30T20:57:45Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2024-01-30T20:57:45Z","nvd_published_at":"2024-01-30T18:15:48Z","cwe_ids":["CWE-80"]},"references":[{"type":"WEB","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":"WEB","url":"https://github.com/apollographql/apollo-client-nextjs/commit/b92bc42abd5f8e17d4db361c36bd08e4f541a46b"},{"type":"PACKAGE","url":"https://github.com/apollographql/apollo-client-nextjs"}],"affected":[{"package":{"name":"@apollo/experimental-nextjs-app-support","ecosystem":"npm","purl":"pkg:npm/%40apollo/experimental-nextjs-app-support"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.7.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-rv8p-rr2h-fgpg/GHSA-rv8p-rr2h-fgpg.json","last_known_affected_version_range":"\u003c= 0.6.0"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N"}]}