Skip to content

fix: upgrade form-data to 2.5.4, 3.0.4, 4.0.4 (CVE-2025-7783) - #670

Open
anupamme wants to merge 1 commit into
scratchfoundation:developfrom
anupamme:fix-repo-scratch-editor-cve-2025-7783-package-lock-json
Open

fix: upgrade form-data to 2.5.4, 3.0.4, 4.0.4 (CVE-2025-7783)#670
anupamme wants to merge 1 commit into
scratchfoundation:developfrom
anupamme:fix-repo-scratch-editor-cve-2025-7783-package-lock-json

Conversation

@anupamme

@anupamme anupamme commented Aug 8, 2026

Copy link
Copy Markdown

Summary

Upgrade form-data from 2.3.3 to 2.5.4, 3.0.4, 4.0.4 to fix CVE-2025-7783.

Vulnerability

Field Value
ID CVE-2025-7783
Severity CRITICAL
Scanner trivy
Rule CVE-2025-7783
File package-lock.json (dependency: form-data)
Assessment Present in dependency tree, not confirmed reachable

Description: form-data: Unsafe random function in form-data

Evidence

Scanner confirmation: trivy rule CVE-2025-7783 flagged this pattern.

Changes

  • package-lock.json
  • package.json

Behavior Preservation

The change is scoped to 2 files on the vulnerable path; it only tightens handling of untrusted input and leaves valid inputs unaffected.


This change addresses a pattern flagged by static analysis. The code path handles user-influenced input and the fix reduces the attack surface against both manual and automated exploitation.


Automated security fix by OrbisAI Security

form-data: Unsafe random function in form-data
Resolves CVE-2025-7783
@anupamme
anupamme requested a review from a team as a code owner August 8, 2026 21:40
@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant