Skip to content

Conversation

@renovate-bot
Copy link
Contributor

This PR contains the following updates:

Package Change Age Confidence
express (source) 5.1.05.2.1 age confidence

Release Notes

expressjs/express (express)

v5.2.1

Compare Source

=======================

v5.2.0

Compare Source

========================

  • Security fix for CVE-2024-51999 (GHSA-pj86-cfqh-vqx6)
  • deps: body-parser@^2.2.1
  • A deprecation warning was added when using res.redirect with undefined arguments, Express now emits a warning to help detect calls that pass undefined as the status or URL and make them easier to fix.

Configuration

📅 Schedule: Branch creation - "before 8am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate-bot renovate-bot requested review from a team and nityaravi as code owners January 1, 2026 07:38
@dpebot
Copy link
Collaborator

dpebot commented Jan 1, 2026

/gcbrun

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @renovate-bot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request updates the express framework to version 5.2.1. This update is notable as express v5.2.0 introduced a security fix for CVE-2024-51999, which was then reverted in v5.2.1. Additionally, the update includes a new deprecation warning for res.redirect when called with undefined parameters and bumps several transitive dependencies to their latest compatible versions.

Highlights

  • Dependency Update: Updates the express dependency from v5.1.0 to v5.2.1 across multiple package-lock.json files.
  • Security Fix Reversion: The express v5.2.0 release included a security fix for CVE-2024-51999, but this fix was subsequently reverted in v5.2.1. Therefore, this update does not apply the mentioned security patch.
  • Deprecation Warning: A deprecation warning has been added in express for res.redirect when used with undefined arguments, helping to identify and fix such calls.
  • Transitive Dependency Updates: Several underlying dependencies of express have also been updated, including body-parser (to 2.2.1), debug (to 4.4.3), mime-types (to 3.0.2), http-errors (to 2.0.1), iconv-lite (to 0.7.1), raw-body (to 3.0.2), and statuses (to 2.0.2).

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the express dependency to version 5.2.1 along with several of its transitive dependencies. While this is a standard dependency update, it's critical to note that [email protected] re-introduces a Denial of Service vulnerability (GHSA-pj86-cfqh-vqx6). The fix for this vulnerability, which was present in version 5.2.0, was reverted due to a breaking change. I have added critical security review comments to highlight this issue in the package-lock.json files. It is important to be aware of this risk and to monitor for a future version of Express that resolves this vulnerability.

"version": "5.1.0",
"resolved": "https://registry.npmjs.org/express/-/express-5.1.0.tgz",
"integrity": "sha512-DT9ck5YIRU+8GYzzU5kT3eHGA5iL+1Zd0EutOmTE9Dtk+Tvuzd23VBU+ec7HPNSTxXYO55gPV/hq4pSBJDjFpA==",
"version": "5.2.1",
Copy link
Contributor

Choose a reason for hiding this comment

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

security-critical critical

This update to [email protected] is intended to bring in the latest changes. However, it's crucial to be aware that version 5.2.1 reverts a security fix for a Denial of Service vulnerability (GHSA-pj86-cfqh-vqx6) that was addressed in 5.2.0. The fix was reverted due to introducing a breaking change. This means that [email protected] is still vulnerable to this Denial of Service attack. The Express team is working on a new fix. Please be aware of this risk and monitor for a future Express release that properly addresses the vulnerability.

"version": "5.1.0",
"resolved": "https://registry.npmjs.org/express/-/express-5.1.0.tgz",
"integrity": "sha512-DT9ck5YIRU+8GYzzU5kT3eHGA5iL+1Zd0EutOmTE9Dtk+Tvuzd23VBU+ec7HPNSTxXYO55gPV/hq4pSBJDjFpA==",
"version": "5.2.1",
Copy link
Contributor

Choose a reason for hiding this comment

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

security-critical critical

This update to [email protected] is intended to bring in the latest changes. However, it's crucial to be aware that version 5.2.1 reverts a security fix for a Denial of Service vulnerability (GHSA-pj86-cfqh-vqx6) that was addressed in 5.2.0. The fix was reverted due to introducing a breaking change. This means that [email protected] is still vulnerable to this Denial of Service attack. The Express team is working on a new fix. Please be aware of this risk and monitor for a future Express release that properly addresses the vulnerability.

"version": "5.1.0",
"resolved": "https://registry.npmjs.org/express/-/express-5.1.0.tgz",
"integrity": "sha512-DT9ck5YIRU+8GYzzU5kT3eHGA5iL+1Zd0EutOmTE9Dtk+Tvuzd23VBU+ec7HPNSTxXYO55gPV/hq4pSBJDjFpA==",
"version": "5.2.1",
Copy link
Contributor

Choose a reason for hiding this comment

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

security-critical critical

This update to [email protected] is intended to bring in the latest changes. However, it's crucial to be aware that version 5.2.1 reverts a security fix for a Denial of Service vulnerability (GHSA-pj86-cfqh-vqx6) that was addressed in 5.2.0. The fix was reverted due to introducing a breaking change. This means that [email protected] is still vulnerable to this Denial of Service attack. The Express team is working on a new fix. Please be aware of this risk and monitor for a future Express release that properly addresses the vulnerability.

@renovate-bot renovate-bot force-pushed the renovate/express-5.x-lockfile branch from 25ee662 to 8f7c45e Compare January 8, 2026 22:03
@dpebot
Copy link
Collaborator

dpebot commented Jan 8, 2026

/gcbrun

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.

2 participants