Skip to content

chore(deps): update dependency express to v4.22.0 [security] (main)#7957

Merged
caohuilin merged 2 commits intomainfrom
renovate/main-npm-express-vulnerability
Dec 2, 2025
Merged

chore(deps): update dependency express to v4.22.0 [security] (main)#7957
caohuilin merged 2 commits intomainfrom
renovate/main-npm-express-vulnerability

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Dec 2, 2025

This PR contains the following updates:

Package Change Age Confidence
express (source) 4.21.2 -> 4.22.0 age confidence

GitHub Vulnerability Alerts

CVE-2024-51999

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

expressjs/express (express)

v4.22.0

Compare Source


Configuration

📅 Schedule: Branch creation - "" (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.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Dec 2, 2025

⚠️ No Changeset found

Latest commit: 39569c9

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

caohuilin
caohuilin previously approved these changes Dec 2, 2025
@caohuilin caohuilin closed this Dec 2, 2025
@caohuilin caohuilin reopened this Dec 2, 2025
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Dec 2, 2025

Rsdoctor Bundle Diff Analysis

📁 bundle-diff

Path: benchmark/bundle-diff/dist/rsdoctor-data.json

⚠️ No baseline data found - Unable to perform comparison analysis

Metric Current Baseline Change
📊 Total Size 497.7 KB - -
📄 JavaScript 487.8 KB - -
🎨 CSS 1.2 KB - -
🌐 HTML 5.9 KB - -
📁 Other Assets 2.8 KB - -

Generated by Rsdoctor GitHub Action

@renovate
Copy link
Copy Markdown
Contributor Author

renovate bot commented Dec 2, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@caohuilin caohuilin force-pushed the renovate/main-npm-express-vulnerability branch from 0204bb9 to 39569c9 Compare December 2, 2025 06:06
@caohuilin caohuilin enabled auto-merge (squash) December 2, 2025 06:06
@caohuilin caohuilin merged commit d8855fa into main Dec 2, 2025
10 checks passed
@caohuilin caohuilin deleted the renovate/main-npm-express-vulnerability branch December 2, 2025 06:09
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