-
Notifications
You must be signed in to change notification settings - Fork 11
chore(deps): 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
3f1580a to
c7ee687
Compare
c7ee687 to
ea1bf2f
Compare
ea1bf2f to
13500b9
Compare
13500b9 to
73fe02d
Compare
73fe02d to
adfcfd7
Compare
adfcfd7 to
7f1b434
Compare
517214b to
7fccb53
Compare
7fccb53 to
ab870e2
Compare
ab870e2 to
4d86bed
Compare
4d86bed to
47fd7cd
Compare
41c4f16 to
f0fdb26
Compare
f0fdb26 to
e432da8
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:
Release Notes
trpc/trpc (trpcserver10)
v11.8.0Compare Source
What's Changed
v11.7.2Compare Source
What's Changed
New Contributors
Full Changelog: trpc/trpc@v11.7.1...v11.7.2
v11.7.1Compare Source
What's Changed
New Contributors
Full Changelog: trpc/trpc@v11.7.0...v11.7.1
v11.7.0Compare Source
What's Changed
Full Changelog: trpc/trpc@v11.6.0...v11.7.0
v11.6.0Compare Source
What's Changed
httpBatchStreamLinkin React Native "stream ends with TypeError" by @KATT in #6960New Contributors
Full Changelog: trpc/trpc@v11.5.1...v11.6.0
v11.5.1Compare Source
What's Changed
New Contributors
Full Changelog: trpc/trpc@v11.5.0...v11.5.1
v11.5.0Compare Source
What's Changed
New Contributors
Full Changelog: trpc/trpc@v11.4.4...v11.5.0
v11.4.4Compare Source
What's Changed
httpBatchLinkwith custom transformed object at top level by @KATT in #6878.d.tsfor esm/cjs by @KATT in #6879New Contributors
Full Changelog: trpc/trpc@v11.4.3...v11.4.4
v11.4.3Compare Source
What's Changed
MaxListenersExceededWarningwhen socket is reused in fastify adapter by @KATT in #6842New Contributors
Full Changelog: trpc/trpc@v11.4.2...v11.4.3
v11.4.2Compare Source
What's Changed
Full Changelog: trpc/trpc@v11.4.1...v11.4.2
v11.4.1Compare Source
What's Changed
Full Changelog: trpc/trpc@v11.4.0...v11.4.1
v11.4.0Compare Source
What's Changed
canary-tag, notnextby @KATT in #6816client): upgradelocalLinkfrom experimental ->unstableby @KATT in #6817New Contributors
Full Changelog: trpc/trpc@v11.3.1...v11.4.0
v11.3.1Compare Source
What's Changed
z.json()by @KATT in #6810Full Changelog: trpc/trpc@v11.3.0...v11.3.1
v11.3.0Compare Source
What's Changed
client): addlocalLinkby @KATT in (https://trpc.io/docs/client/links/localLink) #6806react-query+tanstack-react-query): bump tanstack packages and peer dependencies by @KATT in #6809New Contributors
Full Changelog: trpc/trpc@v11.2.0...v11.3.0
v11.2.0Compare Source
What's Changed
useSubscriptioncallsonConnectionStateChangeby @darkobits in #6797New Contributors
Full Changelog: trpc/trpc@v11.1.4...v11.2.0
v11.1.4Compare Source
What's Changed
initialDataby @KATT in #6793Full Changelog: trpc/trpc@v11.1.3...v11.1.4
v11.1.3Compare Source
What's Changed
AsyncDisposables by @KATT in #6787New Contributors
Full Changelog: trpc/trpc@v11.1.2...v11.1.3
v11.1.2Compare Source
What's Changed
New Contributors
Full Changelog: trpc/trpc@v11.1.1...v11.1.2
v11.1.1Compare Source
v11.1.0Compare Source
What's Changed
retryDelayMs-option toretryLinkby @rynobax & @KATT in #6694New Contributors
Full Changelog: trpc/trpc@v11.0.4...v11.1.0
v11.0.4Compare Source
What's Changed
TRPCConnectionStategeneric fixes by @KATT in #6684unstable_-prefixes for links by @KATT in #6686Full Changelog: trpc/trpc@v11.0.3...v11.0.4
v11.0.3Compare Source
What's Changed
New Contributors
Full Changelog: trpc/trpc@v11.0.2...v11.0.3
v11.0.2Compare Source
What's Changed
New Contributors
Full Changelog: trpc/trpc@v11.0.1...v11.0.2
v11.0.1Compare Source
What's Changed
effectstandard-schema parsers 3.14.2 by @mmkal in #6634New Contributors
Full Changelog: trpc/trpc@v11.0.0...v11.0.1
v11.0.0Compare Source
👉 See the blog post @ https://trpc.io/blog/announcing-trpc-11
What's Changed
Full Changelog: trpc/trpc@v10.45.0...v11.0.0
v10.45.4Compare Source
Full Changelog: trpc/trpc@v10.45.3...v10.45.4
v10.45.3Compare Source
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, 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.