Skip to content

docs: clarify formData security considerations#5320

Merged
mcollina merged 3 commits into
mainfrom
docs/formdata-trusted-servers
May 24, 2026
Merged

docs: clarify formData security considerations#5320
mcollina merged 3 commits into
mainfrom
docs/formdata-trusted-servers

Conversation

@mcollina
Copy link
Copy Markdown
Member

@mcollina mcollina commented May 23, 2026

Summary

  • document that body.formData() buffers and parses the entire body
  • clarify it must only be used on responses from trusted servers
  • update the security threat model for untrusted body.formData() usage

Signed-off-by: Matteo Collina <hello@matteocollina.com>
@mcollina mcollina force-pushed the docs/formdata-trusted-servers branch from 347fa1a to f35f140 Compare May 23, 2026 09:51
@mcollina mcollina requested a review from KhafraDev May 23, 2026 09:51
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.22%. Comparing base (f33ecbc) to head (70c060c).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5320   +/-   ##
=======================================
  Coverage   93.22%   93.22%           
=======================================
  Files         110      110           
  Lines       36599    36599           
=======================================
  Hits        34120    34120           
  Misses       2479     2479           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread README.md Outdated
Comment thread types/fetch.d.ts Outdated
mcollina and others added 2 commits May 24, 2026 18:40
Co-authored-by: Khafra <maitken033380023@gmail.com>
Co-authored-by: Khafra <maitken033380023@gmail.com>
@mcollina mcollina merged commit f51afa0 into main May 24, 2026
37 of 38 checks passed
@mcollina mcollina deleted the docs/formdata-trusted-servers branch May 24, 2026 18:08
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.

4 participants