Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 1, 2025

This PR contains the following updates:

Package Change Age Confidence
express (source) 5.1.0 -> 5.2.0 age confidence

GitHub Vulnerability Alerts

CVE-2024-51999

Withdrawn Advisory

This advisory has been withdrawn because it describes a correctness bug, not a vulnerability with real security impact. This link is maintained to preserve external references.

Original Description

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)

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 - "" (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 renovate bot added automated Pull request created automatically dependencies Pull requests that update a dependency file noChangeLog labels Dec 1, 2025
@github-actions
Copy link

github-actions bot commented Dec 1, 2025

Size Change: -11 B (0%)

Total Size: 4.11 MB

Filename Size Change
apps/impress/out/_next/static/52c69ec3/_buildManifest.js 0 B -906 B (removed) 🏆
apps/impress/out/_next/static/c5999a30/_buildManifest.js 906 B +906 B (new file) 🆕

compressed-size-action

@AntoLC AntoLC force-pushed the renovate/npm-express-vulnerability branch from 4fe30f1 to 4c00425 Compare December 2, 2025 16:56
@AntoLC AntoLC self-assigned this Dec 2, 2025
@AntoLC AntoLC self-requested a review December 2, 2025 16:56
@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​typescript-eslint/​parser@​8.47.01001007198100
Added@​vitejs/​plugin-react@​5.1.110010010094100
Addedaxios@​1.13.29910010095100
Added@​vitest/​eslint-plugin@​1.4.3100100100100100

View full report

@renovate renovate bot changed the title ⬆️(dependencies) update express to v5.2.0 [SECURITY] ⬆️(dependencies) update express to v5.2.0 [SECURITY] - autoclosed Dec 2, 2025
@renovate renovate bot closed this Dec 2, 2025
@renovate renovate bot deleted the renovate/npm-express-vulnerability branch December 2, 2025 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated Pull request created automatically dependencies Pull requests that update a dependency file noChangeLog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants