# CVE-2024-23841: XSS in @apollo/experimental-nextjs-app-support

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 34% of CVEs (2026-12-01)
- Published: 2024-01-30T17:14:12.023Z
- Modified: 2026-09-10T03:50:05.174Z
- Also known as: GHSA-rv8p-rr2h-fgpg
- Weaknesses: CWE-80
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- apollographql apollo-client-nextjs: < 0.7.0
- @apollo/experimental-nextjs-app-support (npm): before 0.7.0
- apollographql apollo_client: before 0.7.0

## Every score

- GitHub_M: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/apollographql/apollo-client-nextjs/security/advisories/GHSA-rv8p-rr2h-fgpg> (vendor-advisory, web)
- <https://github.com/apollographql/apollo-client-nextjs/commit/b92bc42abd5f8e17d4db361c36bd08e4f541a46b> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-23841> (advisory)
- <https://github.com/apollographql/apollo-client-nextjs> (package)

## Sources

- CVE List: [CVE-2024-23841](https://www.cve.org/CVERecord?id=CVE-2024-23841), CVE Terms of Use, modified 2025-06-17
- GitHub Advisory Database: [GHSA-rv8p-rr2h-fgpg](https://github.com/advisories/GHSA-rv8p-rr2h-fgpg), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-23841](https://nvd.nist.gov/vuln/detail/CVE-2024-23841), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-23841 · Whole record: https://cve.day/CVE-2024-23841.json · Rebuilt by cve.day 2026-11-25T22:58:36.450Z
