Skip to content

fix(express): Update body-parser to 1.20.4 for CVE-2025-15284#16178

Merged
kamilmysliwiec merged 1 commit intonestjs:10.4.21from
Xilis:fix/body-parser-qs-cve
Jan 10, 2026
Merged

fix(express): Update body-parser to 1.20.4 for CVE-2025-15284#16178
kamilmysliwiec merged 1 commit intonestjs:10.4.21from
Xilis:fix/body-parser-qs-cve

Conversation

@Xilis
Copy link

@Xilis Xilis commented Jan 9, 2026

Addresses #16157 (comment)

body-parser@1.20.3 depends on qs@6.13.0 which is still vulnerable.
body-parser@1.20.4 uses qs@~6.14.0.

@Xilis Xilis changed the base branch from 10.4.20 to 10.4.21 January 9, 2026 13:27
@Xilis Xilis force-pushed the fix/body-parser-qs-cve branch 2 times, most recently from 8b23dfd to 93e2d1c Compare January 9, 2026 18:54
@Xilis Xilis force-pushed the fix/body-parser-qs-cve branch from 93e2d1c to b9ec98f Compare January 9, 2026 19:24
@kamilmysliwiec kamilmysliwiec merged commit d492171 into nestjs:10.4.21 Jan 10, 2026
1 of 2 checks passed
@Xilis Xilis deleted the fix/body-parser-qs-cve branch January 12, 2026 10:31
@omerhayatgill
Copy link

body-parser@1.20.4 seems to be backward incompatible change, reverting back to 1.20.3 fixes validation issue in our DTOs

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.

3 participants