AAP-19943: bump form-data to 4.0.6 in /android (fix CRLF injection GHSA-hmw2-7cc7-3qxx)#68
Merged
Merged
Conversation
…-3qxx) Add `form-data: >=4.0.6` to android/overrides so all transitive copies (4.0.5, jsdom's 3.0.4, @types/request's 2.5.5) resolve to the patched 4.0.6, closing the CWE-93 CRLF-injection advisory (CVSS 7.5). Regenerated lockfile in place; form-data is now a single 4.0.6 entry and no longer flagged by `npm audit`. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
AsijitM
approved these changes
Jul 21, 2026
rajpatta
approved these changes
Jul 21, 2026
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
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.
JIRA
AAP-19943 (parent: SC-1097 Dependabot Alerts Tracker)
What
Resolves the
form-dataCRLF-injection advisory inandroid/:"form-data": ">=4.0.6"toandroid/package.jsonoverridesand regenerated the lockfile in place.Before,
android/package-lock.jsonhad three vulnerable copies:node_modules/form-datanode_modules/jsdom/node_modules/form-datanode_modules/@types/request/node_modules/form-dataAll now resolve to a single
form-data@4.0.6;npm auditno longer flags form-data. Only incidental change is a transitivehasown2.0.2→2.0.4 bump.Risk / notes
form-datais a dev/tooling transitive here (SDK/jest), used only with fixed, trusted field names — the exploit precondition (untrusted field name/filename) is not met, so this is not practically exploitable in this sample repo. Patching to satisfy the Vulnerability Patch Management SLA and clear the Dependabot alert.npm install --package-lock-only(minimal in-place diff).npm testrequires BrowserStack credentials + real devices; CI will validate.Note
The
/iosdirectory is affected by the same advisory — tracked separately by Dependabot PR #66.🤖 Generated with Claude Code