Update dependency axios to v1.6.0 [SECURITY]#1387
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
Update dependency axios to v1.6.0 [SECURITY]#1387renovate[bot] wants to merge 1 commit intomasterfrom
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
be58d0f to
bbbc8a6
Compare
bbbc8a6 to
3a8c78a
Compare
3a8c78a to
e20d8a3
Compare
e20d8a3 to
ac315ba
Compare
ac315ba to
b3508f3
Compare
b3508f3 to
49c799a
Compare
49c799a to
7fae1ab
Compare
7fae1ab to
5b440e0
Compare
5b440e0 to
0af8a5a
Compare
8dc23dc to
b2c1965
Compare
b2c1965 to
74e23a9
Compare
74e23a9 to
f4a7e50
Compare
f4a7e50 to
3e1a981
Compare
3e1a981 to
87e6c9b
Compare
87e6c9b to
8948197
Compare
e197d15 to
1ae1d71
Compare
1ae1d71 to
7c41a3b
Compare
7c41a3b to
d8d4e14
Compare
d8d4e14 to
35ef2db
Compare
35ef2db to
df26677
Compare
df26677 to
86e31a1
Compare
86e31a1 to
937db8a
Compare
937db8a to
b25c35d
Compare
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:
1.1.3→1.6.0GitHub Vulnerability Alerts
CVE-2023-45857
An issue discovered in Axios 0.8.1 through 1.5.1 inadvertently reveals the confidential XSRF-TOKEN stored in cookies by including it in the HTTP header X-XSRF-TOKEN for every request made to any host allowing attackers to view sensitive information.
CVE-2025-27152
Summary
A previously reported issue in axios demonstrated that using protocol-relative URLs could lead to SSRF (Server-Side Request Forgery). Reference: axios/axios#6463
A similar problem that occurs when passing absolute URLs rather than protocol-relative URLs to axios has been identified. Even if
baseURLis set, axios sends the request to the specified absolute URL, potentially causing SSRF and credential leakage. This issue impacts both server-side and client-side usage of axios.Details
Consider the following code snippet:
In this example, the request is sent to
http://attacker.test/instead of thebaseURL. As a result, the domain owner ofattacker.testwould receive theX-API-KEYincluded in the request headers.It is recommended that:
baseURLis set, passing an absolute URL such ashttp://attacker.test/toget()should not ignorebaseURL.baseURLwith the user-provided parameter), axios should verify that the resulting URL still begins with the expectedbaseURL.PoC
Follow the steps below to reproduce the issue:
Even though
baseURLis set tohttp://localhost:10001/, axios sends the request tohttp://localhost:10002/.Impact
baseURLand does not validate path parameters is affected by this issue.Release Notes
axios/axios (axios)
v1.6.0Compare Source
Features
Contributors to this release
1.6.8 (2024-03-15)
Bug Fixes
Contributors to this release
1.6.7 (2024-01-25)
Bug Fixes
Contributors to this release
1.6.6 (2024-01-24)
Bug Fixes
Contributors to this release
1.6.5 (2024-01-05)
Bug Fixes
Contributors to this release
1.6.4 (2024-01-03)
Bug Fixes
Contributors to this release
1.6.3 (2023-12-26)
Bug Fixes
Contributors to this release
1.6.2 (2023-11-14)
Features
withCredentialsbehavior; (#6046) (cff9967)PRs
Contributors to this release
1.6.1 (2023-11-08)
Bug Fixes
Contributors to this release
PRs
v1.5.1Compare Source
Bug Fixes
PRs
Contributors to this release
1.5.1 (2023-09-26)
Bug Fixes
Content-Typeheader for FormData in non-browser environments; (#5917) (bc9af51)content-encodingheader to handle case-insensitive values (#5890) (#5892) (4c89f25)Contributors to this release
PRs
v1.5.0Compare Source
Bug Fixes
PRs
Contributors to this release
1.5.1 (2023-09-26)
Bug Fixes
Content-Typeheader for FormData in non-browser environments; (#5917) (bc9af51)content-encodingheader to handle case-insensitive values (#5890) (#5892) (4c89f25)Contributors to this release
PRs
v1.4.0Compare Source
Bug Fixes
multipart/form-datacontent type for FormData payload on custom client environments; (#5678) (bbb61e7)Features
AxiosHeaderValuetype. (#5525) (726f1c8)Performance Improvements
Contributors to this release
PRs
1.3.6 (2023-04-19)
Bug Fixes
toStringmethod on the target; (#5661) (aa372f7)Contributors to this release
PRs
1.3.5 (2023-04-05)
Bug Fixes
paramsSerializerconfig; (#5633) (a56c866)Contributors to this release
PRs
1.3.4 (2023-02-22)
Bug Fixes
Contributors to this release
PRs
1.3.3 (2023-02-13)
Bug Fixes
Contributors to this release
PRs
1.3.2 (2023-02-03)
Bug Fixes
ERR_INVALID_URLerror; (#5528) (128d56f)Contributors to this release
PRs
1.3.1 (2023-02-01)
Bug Fixes
Contributors to this release
PRs
v1.3.6Compare Source
Bug Fixes
multipart/form-datacontent type for FormData payload on custom client environments; (#5678) (bbb61e7)Features
AxiosHeaderValuetype. (#5525) (726f1c8)Performance Improvements
Contributors to this release
PRs
1.3.6 (2023-04-19)
Bug Fixes
toStringmethod on the target; (#5661) (aa372f7)Contributors to this release
PRs
1.3.5 (2023-04-05)
Bug Fixes
paramsSerializerconfig; (#5633) (a56c866)Contributors to this release
PRs
1.3.4 (2023-02-22)
Bug Fixes
Contributors to this release
PRs
1.3.3 (2023-02-13)
Bug Fixes
Contributors to this release
PRs
1.3.2 (2023-02-03)
Bug Fixes
ERR_INVALID_URLerror; (#5528) (128d56f)Contributors to this release
PRs
1.3.1 (2023-02-01)
Bug Fixes
Contributors to this release
PRs
v1.3.5Compare Source
Bug Fixes
multipart/form-datacontent type for FormData payload on custom client environments; (#5678) (bbb61e7)Features
AxiosHeaderValuetype. (#5525) (726f1c8)Performance Improvements
Contributors to this release
PRs
1.3.6 (2023-04-19)
Bug Fixes
toStringmethod on the target; (#5661) (aa372f7)Contributors to this release
PRs
1.3.5 (2023-04-05)
Bug Fixes
paramsSerializerconfig; (#5633) (a56c866)Contributors to this release
PRs
1.3.4 (2023-02-22)
Bug Fixes
Contributors to this release
PRs
1.3.3 (2023-02-13)
Bug Fixes
Contributors to this release
PRs
1.3.2 (2023-02-03)
Bug Fixes
ERR_INVALID_URLerror; (#5528) (128d56f)Contributors to this release
PRs
1.3.1 (2023-02-01)
Bug Fixes
Contributors to this release
PRs
v1.3.4Compare Source
Bug Fixes
multipart/form-datacontent type for FormData payload on custom client environments; (#5678) (bbb61e7)Features
AxiosHeaderValuetype. (#5525) (726f1c8)Performance Improvements
Contributors to this release
PRs
1.3.6 (2023-04-19)
Bug Fixes
toStringmethod on the target; (#5661) (aa372f7)Contributors to this release
PRs
1.3.5 (2023-04-05)
Bug Fixes
paramsSerializerconfig; (#5633) (a56c866)Contributors to this release
PRs
1.3.4 (2023-02-22)
Bug Fixes
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 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.