Register for the AI for Security Summit: Join Figma, Perplexity & Wiz
Vulnerability DatabaseGHSA-68jh-rf6x-836f

GHSA-68jh-rf6x-836f
Apollo Server vulnerability analysis and mitigation

Overview

The vulnerability (GHSA-68jh-rf6x-836f) affects @apollo/server versions 4.7.1 and above, up to version 4.7.4, and involves an unsafe implementation of Content Security Policy (CSP) through the reuse of nonces. The issue was discovered and disclosed in June 2023, affecting Apollo Server's landing pages. Content Security Policies serve as a defense-in-depth strategy against XSS attacks, and while improper CSP implementation isn't inherently a vulnerability, it fails to provide adequate protection against potential XSS attacks (GitHub Advisory).

Technical details

The vulnerability stems from the reuse of CSP nonces within landing pages. Instead of generating unique nonces for each request, Apollo Server was generating one nonce and reusing it for the lifetime of the instance. This implementation, while resolving script execution issues in Safari, did not follow secure CSP implementation practices. The issue was introduced in version 4.7.1 with the initial CSP implementation (GitHub Advisory).

Impact

While Apollo has not identified any direct XSS attack vectors via the Apollo Server landing pages, the improper CSP implementation means that if any XSS vulnerabilities exist or are discovered, the CSP would not provide the intended protection. Users of Apollo Server's landing pages could potentially be vulnerable if an XSS vector is present (GitHub Advisory).

Exploitability

The vulnerability is classified as Low severity. There are no known active exploits in the wild, and the issue itself doesn't create a direct security risk but rather weakens a defense-in-depth measure (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Apollo Server version 4.7.4. As a workaround, users can completely disable the landing page until they can upgrade to the patched version. The landing page can be disabled following the instructions in the Apollo Server documentation. Additionally, the precomputedNonce configuration option has been deprecated and should not be used (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Apollo Server vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23897HIGH7.5
  • JavaScript logoJavaScript
  • @apollo/server
NoYesFeb 04, 2026
GHSA-9q82-xgwf-vj6hMEDIUM6.3
  • Apollo Server logoApollo Server
  • @apollo/server
NoYesMar 26, 2026
GHSA-j5g3-5c8r-7qfxLOWN/A
  • Apollo Server logoApollo Server
  • @apollo/server
NoYesAug 30, 2023
GHSA-68jh-rf6x-836fLOWN/A
  • Apollo Server logoApollo Server
  • @apollo/server
NoYesJun 16, 2023
GHSA-8r69-3cvp-wxc3MEDIUMN/A
  • JavaScript logoJavaScript
  • @apollo/server
NoYesNov 02, 2022

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management