Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @trpc/server
  4. ›
  5. CVE-2025-68130

CVE-2025-68130: tRPC has possible prototype pollution in `experimental_nextAppDirCaller`

December 16, 2025

A Prototype Pollution vulnerability exists in @trpc/server’s formDataToObject function, which is used by the Next.js App Router adapter. An attacker can pollute Object.prototype by submitting specially crafted FormData field names, potentially leading to authorization bypass, denial of service, or other security impacts.

References

  • github.com/advisories/GHSA-43p4-m455-4f4j
  • github.com/trpc/trpc
  • github.com/trpc/trpc/commit/78629d524968ef8db5a7adf68d8b95a44369d77e
  • github.com/trpc/trpc/security/advisories/GHSA-43p4-m455-4f4j
  • nvd.nist.gov/vuln/detail/CVE-2025-68130

Code Behaviors & Features

Detect and mitigate CVE-2025-68130 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 10.27.0 before 10.45.3, all versions starting from 11.0.0 before 11.8.0

Fixed versions

  • 10.45.3
  • 11.8.0

Solution

Upgrade to versions 10.45.3, 11.8.0 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:L

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/@trpc/server/CVE-2025-68130.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 24 Dec 2025 00:20:02 +0000.