Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. fast-redact
  4. ›
  5. CVE-2025-57319

CVE-2025-57319: fast-redact vulnerable to prototype pollution

September 24, 2025 (updated September 29, 2025)

fast-redact is a package that provides do very fast object redaction. A Prototype Pollution vulnerability in the nestedRestore function of fast-redact version 3.5.0 and before allows attackers to inject properties on Object.prototype via supplying a crafted payload, causing denial of service (DoS) as the minimum consequence.

References

  • github.com/VulnSageAgent/PoCs/blob/main/JavaScript/prototype-pollution/fast-redact%403.5.0/index.js
  • github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57319
  • github.com/advisories/GHSA-ffrw-9mx8-89p8
  • github.com/davidmarkclements/fast-redact
  • github.com/davidmarkclements/fast-redact/issues/75
  • nvd.nist.gov/vuln/detail/CVE-2025-57319

Code Behaviors & Features

Detect and mitigate CVE-2025-57319 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 up to 3.5.0

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

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

Source file

npm/fast-redact/CVE-2025-57319.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 07 Oct 2025 00:19:28 +0000.