-
Notifications
You must be signed in to change notification settings - Fork 10
Update dependency trpcserver10 to v11 [SECURITY] #167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
deps
Choose a base branch
from
renovate/npm-trpcserver10-vulnerability
base: deps
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
Contributor
Author
Branch automerge failureThis PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.
|
91d8e18 to
d1a637a
Compare
commit: |
2d2a659 to
1c47541
Compare
1c47541 to
a31466f
Compare
a31466f to
d0cad04
Compare
d0cad04 to
4a36d21
Compare
4a36d21 to
d78ed71
Compare
d78ed71 to
874f6c0
Compare
874f6c0 to
1ab1c31
Compare
1ab1c31 to
7f2325c
Compare
7f2325c to
acd05ae
Compare
acd05ae to
e4bc7d2
Compare
e4bc7d2 to
583acf2
Compare
583acf2 to
cd7fe65
Compare
cd7fe65 to
8e24af3
Compare
8e24af3 to
557a4d7
Compare
04f1ff6 to
cbe0c7c
Compare
cbe0c7c to
3f1580a
Compare
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:
^10.45.2→^11.8.0GitHub Vulnerability Alerts
CVE-2025-68130
Summary
A Prototype Pollution vulnerability exists in
@trpc/server'sformDataToObjectfunction, which is used by the Next.js App Router adapter. An attacker can polluteObject.prototypeby submitting specially crafted FormData field names, potentially leading to authorization bypass, denial of service, or other security impacts.Affected Versions
@trpc/serverformDataToObject()insrc/unstable-core-do-not-import/http/formDataToObject.tsVulnerability Details
Root Cause
The
set()function informDataToObject.tsrecursively processes FormData field names containing bracket/dot notation (e.g.,user[name],user.address.city) to create nested objects. However, it does not validate or sanitize dangerous keys like__proto__,constructor, orprototype.Vulnerable Code
Attack Vector
When a user submits a form to a tRPC mutation using Next.js Server Actions, the
nextAppDirCalleradapter processes the FormData:An attacker can craft FormData with malicious field names:
When processed, this pollutes
Object.prototype:Proof of Concept
Test.js
Impact
Authorization Bypass (HIGH)
Many applications check user permissions using property access:
After pollution, all objects will have
isAdmin: "true", bypassing authorization.Denial of Service (MEDIUM)
Polluting commonly used property names can crash applications:
Configuration
📅 Schedule: Branch creation - "" (UTC), 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.