Skip to content

fix(deps): patch body-parser advisory GHSA-27r3-jxmh-p828 - #142

Merged
ChiragAgg5k merged 1 commit into
masterfrom
fix/ghsa-body-parser
Nov 2, 2026
Merged

ChiragAgg5k merged 1 commit into
masterfrom
fix/ghsa-body-parser

Conversation

@ChiragAgg5k

Copy link
Copy Markdown
Member

Fixes Dependabot alert GHSA-27r3-jxmh-p828 (high): body-parser < 1.20.9, pulled in transitively by express.

express 4.22.3 is already the latest 4.x release and depends on `body-parser ~1.20.5`, which admits the patched 1.20.9. So this only refreshes the lockfile (`npm update body-parser --package-lock-only`): body-parser 1.20.8 -> 1.20.9. No overrides and no express 5 major bump (the alternative in #137).

Verification: `npm ls body-parser` shows only `express@4.22.3 -> body-parser@1.20.9`, `npm audit` reports 0 vulnerabilities, and an `npm ci` install served a JSON POST through `express.json()` correctly.

express 4.22.3 is already the latest 4.x and its ~1.20.5 range admits the patched 1.20.9, so a lockfile refresh fixes it without the express 5 major bump in #137.
@hansi-codes

hansi-codes Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

npm ci and the CI server smoke test pass, and npm audit reports no vulnerabilities.

The lockfile updates the transitive body-parser dependency from 1.20.8 to 1.20.9, within Express 4.22.3's existing dependency range. This release includes the fix for GHSA-27r3-jxmh-p828.

Verdict New comments Fixed Still open
✅ Approved 0 0 0
📂 Walkthrough · 1
File Change
package-lock.json Refreshes both lockfile entries for body-parser to version 1.20.9.

Reviewed 0d14965 · Details · Comment @hansi-codes review to re-run, or mention @hansi-codes with a question.

@hansi-codes hansi-codes Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Tier S · Looks good to merge. Summary

@ChiragAgg5k
ChiragAgg5k merged commit 3372f2a into master Nov 2, 2026
2 checks passed
@ChiragAgg5k
ChiragAgg5k deleted the fix/ghsa-body-parser branch November 2, 2026 10:21
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