Skip to content

๐Ÿšจ [security] Update express 5.0.0 โ†’ 5.2.0 (minor)#12

Closed
depfu[bot] wants to merge 1 commit intomainfrom
depfu/update/npm/express-5.2.0
Closed

๐Ÿšจ [security] Update express 5.0.0 โ†’ 5.2.0 (minor)#12
depfu[bot] wants to merge 1 commit intomainfrom
depfu/update/npm/express-5.2.0

Conversation

@depfu
Copy link
Contributor

@depfu depfu bot commented Dec 1, 2025


๐Ÿšจ Your current dependencies have known security vulnerabilities ๐Ÿšจ

This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!


Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

โœณ๏ธ express (5.0.0 โ†’ 5.2.0) ยท Repo ยท Changelog

Security Advisories ๐Ÿšจ

๐Ÿšจ express improperly controls modification of query properties

Impact

when using the extended query parser in express ('query parser': 'extended'), the request.query object inherits all object prototype properties, but these properties can be overwritten by query string parameter keys that match the property names

Important

the extended query parser is the default in express 4; this was changed in express 5 which by default uses the simple query parser

Patches

the issue has been patched to ensure request.query is a plain object so request.query no longer has object prototype properties. this brings the default behavior of extended query parsing in line with express's default simple query parser

Workaround

this only impacts users using extended query parsing ('query parser': 'extended'), which is the default in express 4, but not express 5. all users are encouraged to upgrade to the patched versions, but can otherwise work around this issue:

provide qs directly and specify plainObjects: true

app.set('query parser',
  function (str) {
    return qs.parse(str, {
      plainObjects: true
  });
});
Release Notes

5.1.0

More info than we can show here.

5.0.1

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

โ†—๏ธ body-parser (indirect, 2.1.0 โ†’ 2.2.1) ยท Repo ยท Changelog

Security Advisories ๐Ÿšจ

๐Ÿšจ body-parser is vulnerable to denial of service when url encoding is used

Impact

body-parser 2.2.0 is vulnerable to denial of service due to inefficient handling of URL-encoded bodies with very large numbers of parameters. An attacker can send payloads containing thousands of parameters within the default 100KB request size limit, causing elevated CPU and memory usage. This can lead to service slowdown or partial outages under sustained malicious traffic.

Patches

This issue is addressed in version 2.2.1.

Release Notes

2.2.1

More info than we can show here.

2.2.0

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

โ†—๏ธ call-bind-apply-helpers (indirect, 1.0.1 โ†’ 1.0.2) ยท Repo ยท Changelog

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

โ†—๏ธ call-bound (indirect, 1.0.3 โ†’ 1.0.4) ยท Repo ยท Changelog

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

โ†—๏ธ cookie (indirect, 0.6.0 โ†’ 0.7.2) ยท Repo ยท Changelog

Security Advisories ๐Ÿšจ

๐Ÿšจ cookie accepts cookie name, path, and domain with out of bounds characters

Impact

The cookie name could be used to set other fields of the cookie, resulting in an unexpected cookie value. For example, serialize("userName=<script>alert('XSS3')</script>; Max-Age=2592000; a", value) would result in "userName=<script>alert('XSS3')</script>; Max-Age=2592000; a=test", setting userName cookie to <script> and ignoring value.

A similar escape can be used for path and domain, which could be abused to alter other fields of the cookie.

Patches

Upgrade to 0.7.0, which updates the validation for name, path, and domain.

Workarounds

Avoid passing untrusted or arbitrary values for these fields, ensure they are set by the application instead of user input.

References

Release Notes

0.7.2

More info than we can show here.

0.7.1

More info than we can show here.

0.7.0

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

โ†—๏ธ finalhandler (indirect, 2.0.0 โ†’ 2.1.1) ยท Repo ยท Changelog

Release Notes

2.1.0

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

โ†—๏ธ get-intrinsic (indirect, 1.2.7 โ†’ 1.3.0) ยท Repo ยท Changelog

Release Notes

1.3.0 (from changelog)

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

โ†—๏ธ http-errors (indirect, 2.0.0 โ†’ 2.0.1) ยท Repo ยท Changelog

Release Notes

2.0.1

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

โ†—๏ธ path-to-regexp (indirect, 8.2.0 โ†’ 8.3.0) ยท Repo ยท Changelog

Release Notes

8.3.0

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

โ†—๏ธ raw-body (indirect, 3.0.0 โ†’ 3.0.2) ยท Repo ยท Changelog

Release Notes

3.0.2

More info than we can show here.

3.0.1

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

โ†—๏ธ router (indirect, 2.1.0 โ†’ 2.2.0) ยท Repo ยท Changelog

Release Notes

2.2.0

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

โ†—๏ธ send (indirect, 1.1.0 โ†’ 1.2.0) ยท Repo ยท Changelog

Release Notes

1.2.0

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

โ†—๏ธ serve-static (indirect, 2.1.0 โ†’ 2.2.0) ยท Repo ยท Changelog

Release Notes

2.2.0

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

โ†—๏ธ statuses (indirect, 2.0.1 โ†’ 2.0.2) ยท Repo ยท Changelog

Release Notes

2.0.2

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

โ†—๏ธ type-is (indirect, 2.0.0 โ†’ 2.0.1) ยท Repo ยท Changelog

Release Notes

2.0.1

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

๐Ÿ†• mime-db (added, 1.54.0)

๐Ÿ†• mime-types (added, 3.0.2)

๐Ÿ†• debug (added, 4.4.3)

๐Ÿ†• iconv-lite (added, 0.7.0)

๐Ÿ—‘๏ธ destroy (removed)

๐Ÿ—‘๏ธ methods (removed)

๐Ÿ—‘๏ธ utils-merge (removed)

๐Ÿ—‘๏ธ debug (removed)

๐Ÿ—‘๏ธ debug (removed)

๐Ÿ—‘๏ธ debug (removed)

๐Ÿ—‘๏ธ ms (removed)

๐Ÿ—‘๏ธ ms (removed)

๐Ÿ—‘๏ธ qs (removed)

๐Ÿ—‘๏ธ encodeurl (removed)

๐Ÿ—‘๏ธ fresh (removed)

๐Ÿ—‘๏ธ iconv-lite (removed)

๐Ÿ—‘๏ธ iconv-lite (removed)


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@โ€‹depfu rebase
Rebases against your default branch and redoes this update
@โ€‹depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@โ€‹depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@โ€‹depfu cancel merge
Cancels automatic merging of this PR
@โ€‹depfu close
Closes this PR and deletes the branch
@โ€‹depfu reopen
Restores the branch and reopens this PR (if it's closed)
@โ€‹depfu pause
Ignores all future updates for this dependency and closes this PR
@โ€‹depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@โ€‹depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the depfu label Dec 1, 2025
@netlify
Copy link

netlify bot commented Dec 1, 2025

โœ… Deploy Preview for colorflux ready!

Name Link
๐Ÿ”จ Latest commit ca48ef4
๐Ÿ” Latest deploy log https://app.netlify.com/projects/colorflux/deploys/692df7606f7510000832cc2a
๐Ÿ˜Ž Deploy Preview https://deploy-preview-12--colorflux.netlify.app
๐Ÿ“ฑ Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@depfu
Copy link
Contributor Author

depfu bot commented Dec 1, 2025

Closed in favor of #13.

@depfu depfu bot closed this Dec 1, 2025
@depfu depfu bot deleted the depfu/update/npm/express-5.2.0 branch December 1, 2025 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants