chore(deps): update dependency @adonisjs/core to v7.3.1 [security]#6
Merged
renovate[bot] merged 1 commit intomainfrom May 3, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
7.0.1→7.3.1@adonisjs/http-server has an Open Redirect vulnerability
CVE-2026-40255 / GHSA-6qvv-pj99-48qm
More information
Details
Impact
The
response.redirect().back()method in@adonisjs/http-serveris vulnerable to open redirects. The method reads theRefererheader from the incoming HTTP request and redirects to that URL without validating the host. An attacker who can influence theRefererheader (for example, by linking a user through an attacker-controlled page before a form submission) can cause the application to redirect users to a malicious external site.This affects all AdonisJS applications that use
response.redirect().back()orresponse.redirect('back').The vulnerability is classified as CWE-601: URL Redirection to Untrusted Site ('Open Redirect').
Patches
This has been fixed in
@adonisjs/http-serverversion 8.2.0. Theback()method now validates theRefererheader's host against the request's ownHostheader. Referrers from unrecognized hosts are rejected and the redirect falls back to/(or a developer-provided fallback URL).Applications that operate across multiple domains can configure additional trusted hosts via the
redirect.allowedHostsoption inconfig/app.ts.Users should upgrade to
@adonisjs/http-server@^8.2.0(or@adonisjs/core@^7.4.0if using the core meta-package).Workarounds
If upgrading is not immediately possible, avoid using
response.redirect().back()in routes that are reachable by unauthenticated users or from pages that accept external traffic. Instead, redirect to a known safe path explicitly usingresponse.redirect().toPath('/dashboard').References
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
adonisjs/core (@adonisjs/core)
v7.3.1: Preventing open-redirect vulnerabilities during referer based redirectsCompare Source
Full Changelog: adonisjs/core@v7.3.0...v7.3.1
v7.3.0: Allow make commands to override existing files via --force flagCompare Source
Features
Full Changelog: adonisjs/core@v7.2.0...v7.3.0
v7.2.0: Safe timing helpers, vine.create usage in validator stub and create building using custom tsconfig fileCompare Source
Bug Fixes
Features
What's Changed
New Contributors
Full Changelog: adonisjs/core@v7.1.1...v7.2.0
v7.1.1: Fix indexEntities to create manifest file whenmanifest.enabledis trueCompare Source
Bug Fixes
Full Changelog: adonisjs/core@v7.1.0...v7.1.1
v7.1.0: Add JSONL route formatter for AI agentsCompare Source
Bug Fixes
Features
Full Changelog: adonisjs/core@v7.0.1...v7.1.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.