@apollo/experimental-nextjs-app-support Cross-site Scripting vulnerabilityGHSA-rv8p-rr2h-fgpg
HIGHFix: apollographql/apollo-client-nextjs@b92bc42GHSA-rv8p-rr2h-fgpg is a high-severity (CVSS 8.2) CWE-80 vulnerability in @apollo/experimental-nextjs-app-support. A fix is available for @apollo/experimental-nextjs-app-support — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-rv8p-rr2h-fgpg.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
@apollo/experimental-nextjs-app-supportnpmDescription
Impact
The @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.
Patches
To fix this issue, please update to version 0.7.0 or later.
Workarounds
There are no known workarounds for this issue. Please update to version 0.7.0
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | @apollo/experimental-nextjs-app-support | all versions | 0.7.0npm install @apollo/experimental-nextjs-app-support@0.7.0 |
Affected Products
apollo clientapollographqlDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for @apollo/experimental-nextjs-app-support, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update @apollo/experimental-nextjs-app-support to 0.7.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-rv8p-rr2h-fgpg is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
Frequently Asked Questions
Is GHSA-rv8p-rr2h-fgpg in your dependencies?
Find it across npm, including transitive dependencies.