chore(deps): update dependency apollographql/router to v2.12.1#86
Merged
renovate[bot] merged 1 commit intomainfrom Mar 29, 2026
Merged
chore(deps): update dependency apollographql/router to v2.12.1#86renovate[bot] merged 1 commit intomainfrom
renovate[bot] merged 1 commit intomainfrom
Conversation
d82f080 to
603ccc1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.12.0→2.12.1Release Notes
apollographql/router (apollographql/router)
v2.12.1Compare Source
🔒 Security
Reject GET requests with a non-
application/jsonContent-Type header (GHSA-hff2-gcpx-8f4p)The router now rejects GraphQL
GETrequests that include aContent-Typeheader with a value other thanapplication/json(with optional parameters such as; charset=utf-8). Any other value is rejected with a 415 status code.GETrequests without aContent-Typeheader continue to be allowed (subject to the router's existing CSRF prevention check), sinceGETrequests have no body and therefore technically do not require this header.This improvement makes the router's CSRF prevention more resistant to browsers that implement CORS in non-spec-compliant ways. Apollo is aware of one browser which as of March 2026 has a bug allowing an attacker to circumvent the router's CSRF prevention to carry out read-only XS-Search-style attacks. The browser vendor is in the process of patching this vulnerability; upgrading to this version of the router mitigates the vulnerability.
If your graph uses cookies (or HTTP Basic Auth) for authentication, Apollo encourages you to upgrade to this version.
This is technically a backwards-incompatible change. Apollo is not aware of any GraphQL clients that provide non-empty
Content-Typeheaders onGETrequests with types other thanapplication/json. If your use case requires such requests, please contact support, and we may add more configurability in a follow-up release.By @glasser and @carodewig in GHSA-hff2-gcpx-8f4p
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.