fix(deps): update dependency @adonisjs/core to v7 [security] - #596
Open
renovate[bot] wants to merge 1 commit into
Open
fix(deps): update dependency @adonisjs/core to v7 [security]#596renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Contributor
Author
|
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:
5.9.0→7.3.1Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
@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
v7.0.1: Drop hardcoded @next package tagsCompare Source
Fixes
Maintenances
v7.0.0: Type-safe URL builder, barrel files, tooling for e2e type-safety and much more 🚀Compare Source
Features
What's Changed
New Contributors
Full Changelog: adonisjs/core@v6.19.0...v7.0.0
v6.21.0Compare Source
v6.20.0: Security updateCompare Source
Security update for CVE-2026-25754 (GHSA-f5x2-vj4h-vg4c) & CVE-2026-25762 (GHSA-xx9g-fh25-4q64).
Features
v6.19.3: Update dependenciesCompare Source
6.19.3 (2026-01-10)
v6.19.2: Security updateCompare Source
Security update for CVE-2026-21440 (GHSA-gvq6-hvvp-h34h)
Full Changelog: adonisjs/core@v6.19.1...v6.19.2
v6.19.1: Add support for VineJS v4Compare Source
Full Changelog: adonisjs/core@v6.19.0...v6.19.1
v6.19.0: Export VineMultipartClass for extending and fix multipart file serialization issueCompare Source
Features
What's Changed
New Contributors
Full Changelog: adonisjs/core@v6.18.0...v6.19.0
v6.18.0: Use merged request body when mergeMultipartFieldsAndFiles is enabledCompare Source
Please read the release notes of
@adonisjs/bodyparserpackage to understand how merged request body works and why this feature was added. https://github.com/adonisjs/bodyparser/releases/tag/v10.1.0. Solves issue #4777Features
What's Changed
New Contributors
Full Changelog: adonisjs/core@v6.17.2...v6.18.0
v6.17.2: Update dependenciesCompare Source
6.17.2 (2025-02-13)
Full Changelog: adonisjs/core@v6.17.1...v6.17.2
v6.17.1: Update dependenciesCompare Source
6.17.1 (2025-01-12)
Full Changelog: adonisjs/core@v6.17.0...v6.17.1
v6.17.0: Improvements to the list routes commandCompare Source
6.17.0 (2024-12-15)
Full Changelog: adonisjs/core@v6.16.0...v6.17.0
v6.16.0: Fix NODE_ENV issue with test command and Verification token abstract classCompare Source
6.16.0 (2024-12-05)
Full Changelog: adonisjs/core@v6.15.2...v6.16.0
v6.15.2: Support VineJS 3.0Compare Source
6.15.2 (2024-12-01)
Full Changelog: adonisjs/core@v6.15.1...v6.15.2
v6.15.1: Update dependenciesCompare Source
Full Changelog: adonisjs/core@v6.15.0...v6.15.1
v6.15.0: Small improvements to commandsCompare Source
What's Changed
New Contributors
Full Changelog: adonisjs/core@v6.14.1...v6.15.0
v6.14.1: Update dependenciesCompare Source
Full Changelog: adonisjs/core@v6.14.0...v6.14.1
v6.14.0: Add support for dd and dump helpersCompare Source
The
ddhelper can be used likeconsole.logbut it provides a better visual experience and also comes with a HTML printer. The helper throws an exception and self handles itself to render the dumped value inside the browser (during an HTTP request) or in the console (default output).You can use the
ddhelper as follows.The same helper is available in Edge template as
@ddtag. Also, within Edge templates you may use the@dumpto inspect a value without throwing an exception.Bug Fixes
Features
Full Changelog: adonisjs/core@v6.13.1...v6.14.0
v6.13.1: Keep APP_KEY as an empty value within the .env.example fileCompare Source
What's Changed
New Contributors
Full Changelog: adonisjs/core@v6.13.0...v6.13.1
v6.13.0: Use Ace Kernel errorHandler when running commandsCompare Source
Features
What's Changed
New Contributors
Full Changelog: adonisjs/core@v6.12.1...v6.13.0
v6.12.1: Allow bun and pnpm@6 when using "ace add" commandCompare Source
5bf81d0)2e74375)8cc09c2)Full Changelog: adonisjs/core@v6.12.0...v6.12.1
v6.12.0: Update health checks setup and add support for bun to install dependenciesCompare Source
00bbbd6)57a81f7)f494c52)What's Changed
New Contributors
Full Changelog: adonisjs/core@v6.11.0...v6.12.0
v6.11.0: Add support for configuring health checks via configure commandCompare Source
Run the following command with the latest release to configure health checks
Commits
6fc19a3)dede44f)v6.10.1: Fix publish path of health checks moduleCompare Source
d0ad21d)Full Changelog: adonisjs/core@v6.10.0...v6.10.1
v6.10.0: Add and export health moduleCompare Source
This release introduces the new health module. The docs will follow soon.
Commits
bce2b76)0cc018e)Full Changelog: adonisjs/core@v6.9.1...v6.10.0
v6.9.1: Stable assembler hooksCompare Source
Changes
unstable_assemblerproperty is retained for backwards compatibility, but will be removed in a future minor release.node ace addnow support Yarn BerryCommits
430482f)bb24b7f)f00fd9a)c48e72b)bdda97a)What's Changed
New Contributors
Full Changelog: adonisjs/core@v6.9.0...v6.9.1
v6.9.0: Add env:add command to define environment variable and its validation rulesCompare Source
c8251b5)d80d7bf)9cd7183)5a1a4e9)4508128)Full Changelog: adonisjs/core@v6.9.0...v6.9.0
v6.8.0: Moving HMR out of experimental phaseCompare Source
The support for HMR is now stable and you can start using it. For existing projects, you must upgrade the
@adonisjs/coreand the@adonisjs/assemblerpackages to their latest releases before you can start using the HMR mode.This is what you need to do.
Next update the
package.jsonfile with the following configurationAnd start the HTTP server as follows.
If you use npm scripts, then make sure to update the
devscript as well in thepackage.jsonfile.{ "scripts": { "dev": "node ace serve --hmr" } }Commits
c370640)--unstable-hmrto--hmr(40a85f9)Full Changelog: adonisjs/core@v6.7.1...v6.8.0
v6.7.1: Add a specific citgm scriptCompare Source
Commits
ab98096)51d5c27)Full Changelog: adonisjs/core@v6.7.0...v6.7.1
v6.7.0: Experimental support for HMRCompare Source
Alright, so we have finally landed support for HMR in experimental mode. Once you upgrade the
@adonisjs/coreand the@adonisjs/assemblerpackages to their latest releases, you can start using the HMR mode.This is what you need to do.
Next update the
package.jsonfile with the following configurationAnd start the HTTP server as follows.
If you use npm scripts, then make sure to update the
devscript as well in thepackage.jsonfile.{ "scripts": { "dev": "node ace serve --unstable-hmr" } }Commits
e472091)fbdae40)4a9d201)9b2aadc)--unstable-hmrflag (cdc266a)6c2bff9)--hmrflag (3e11c21)What's Changed
--hmrflag for theservecommand by @Julien-R44 in #4504Full Changelog: adonisjs/core@v6.6.0...v6.7.0
v6.6.0: Upgrade to VineJS 2.0Compare Source
After this release, you will be forced to upgrade to VineJS@2.0 in your apps. Even though VineJS had a major release, the breaking changes are related to types only and should not impact your application code at all. So we recommend you to follow VineJS release notes and upgrade it.
Commits
323152d)a986b0c)94f894c)What's Changed
New Contributors
Full Changelog: adonisjs/core@v6.5.0...v6.6.0
v6.5.0: OnHttpServerMessage hookCompare Source
Changes
Added a new
onHttpServerMessagehook that can be used to intercept the message sent by your HTTP Server. This hook must be defined in theadonisrc.tsfile, like other hooks.Commits
82ecae3)Full Changelog: adonisjs/core@v6.4.0...v6.5.0
v6.4.0: Update Env module allowing us to use IdentifierCompare Source
b49f28f)0c9216d)2d2bac7)e1d0325)071254f)acecommand (df6466d)v6.3.1: FixaddcommandCompare Source
Changes
ace addcommand was incorrectly available under the nameace install.ace addcommand is now availableCommits
node ace installtonode ace add9e5c21eb377553Full Changelog: adonisjs/core@v6.3.0...v6.3.1
v6.3.0: New codemods APIs, ace add command, and experimental assembler hooksCompare Source
Changes
We now have a
node ace addcommand which allows you to install and configure a package. In a single command, where before you would have had to donpm install ...thennode ace configure .... This will be documented in more detail in the coming days. See adonisjs/v6-docs#44The Codemods API now exposes the
getTsMorphProjectmethod, which retrieves an instance of tsmorph. This allows package authors to have direct access to ts-morph when they need to perform more specific modifications in the end-user code. Documentation https://docs.adonisjs.com/guides/scaffolding#gettsmorphprojectThe Codemods API also introduces two new methods:
registerVitePluginandregisterJapaPlugin. See documentation here: https://docs.adonisjs.com/guides/scaffolding#registervitepluginAdded experimental assembler hooks. These hooks must be defined in the
adonisrc.tsfile and enable certain pieces of code to be executed at specific times during the build or dev server lifecycle. This feature will be useful for the new Vite integration we are experimenting :Commits
mainas reference for test jobee4babacf79688nextreference295061f1ca3b45fdd332ee33b342ee96efedb03e4cbe6ca03c0a86f3ca600cef01d683node ace addcommand (#4296)e7c668cd83e9708848191What's Changed
node ace addcommand by @Julien-R44 in #4296New Contributors
Full Changelog: adonisjs/core@v6.2.3...v6.3.0
v6.2.3: Respect singular CLI flag when creating a new controllerCompare Source
05d23e8Full Changelog: adonisjs/core@v6.2.2...v6.2.3
v6.2.2: Add test_utils submoduleCompare Source
9fa0de3cdef23aFull Changelog: adonisjs/core@v6.2.1...v6.2.2
v6.2.1: Add all helpers to REPL context via loadHelpers methodCompare Source
f5afe9c1e3d6e46f60feeFull Changelog: adonisjs/core@v6.2.0...v6.2.1
v6.2.0Compare Source
Please consult the following releases to view the list of breaking changes and new additions.
Commits
31668b7b7f854722f8e4066e96c74d2026f2f5373105d56dd96138520a45d5beeb31cf7b4306072fe65c87c2554b5f0606617200ba83daa30ae2620cbd734eWhat's Changed
node:fsinstead offs-extraby @targos in #4104makeUsingStubto BaseCommand by @Julien-R44 in #4147Configure.installPackagesmethod by @Julien-R44 in #4188New Contributors
Full Changelog: adonisjs/core@v5.9.0...v6.2.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.