fix(deps): update rust crate salvo to 0.88.0 [security]#122
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
fix(deps): update rust crate salvo to 0.88.0 [security]#122renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
45f2a67 to
3ce7b01
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:
0.37.9→0.88.0GitHub Vulnerability Alerts
CVE-2026-22257
Summary
The function
list_htmlgenerates a file view of a folder without sanitizing the files or folders names, potentially leading to XSS in cases where a website allows access to public files using this feature, allowing anyone to upload a file.Details
The vulnerable snippet of code is the following:
dir.rs
PoC
POC1.mp4
Here is the example app we used:
mian.rsCargo.tomlImpact
JavaScript execution, most likely leading to an account takeover, depending on the site's constraint (CSP, etc…).
CVE-2026-22256
Summary
The function
list_htmlgenerates an file view of a folder which includes a render of the current path, in which its inserted in the HTML without proper sanitation, leading to reflected XSS. The request path is decoded and normalized in the matching stage but is not inserted raw in the HTML view (current.path). The only constraint here is for the root path (e.g., /files in the PoC example) to have a subdirectory (e. g., common ones like styles/scripts/etc.) so that the matching returns the list HTML page instead of the Not Found page.Details
The vulnerable snippet of code is the following:
dir.rs
As seen here
<title>{}</title>it is inserted unsafely.PoC
salvo_poc.mp4
Here is the example app, note this doesn’t need an upload feature (e.g to the other reported vulnerability), only the sub-folder is required.
main.rsCargo.tomlSetup commands:
Impact
JavaScript execution, most likely leading to an account takeover, depending on the site's constraint (CSP, etc…).
Release Notes
salvo-rs/salvo (salvo)
v0.88.1Compare Source
What's Changed
Full Changelog: salvo-rs/salvo@v0.88.0...v0.88.1
v0.88.0Compare Source
What's Changed
use_etag(false)is called inNamedFileBuilderby @cnlancehu in #1265Full Changelog: salvo-rs/salvo@v0.87.1...v0.88.0
v0.87.1Compare Source
What's Changed
Full Changelog: salvo-rs/salvo@v0.87.0...v0.87.1
v0.87.0Compare Source
What's Changed
swagger-uito v5.31.0 by @tyreseluo in #1254New Contributors
Full Changelog: salvo-rs/salvo@v0.86.0...v0.87.0
v0.86.0Compare Source
What's Changed
SALVO_STATUS_ERRORto control default error page by @chrislearn in #1240New Contributors
Full Changelog: salvo-rs/salvo@v0.85.0...v0.86.0
v0.85.0Compare Source
What's Changed
New Contributors
Full Changelog: salvo-rs/salvo@v0.84.2...v0.85.0
v0.84.2Compare Source
What's Changed
Full Changelog: salvo-rs/salvo@v0.84.1...v0.84.2
v0.84.1Compare Source
What's Changed
NamedFileand embed file detect text content type by @chrislearn in #1210Full Changelog: salvo-rs/salvo@v0.84.0...v0.84.1
v0.84.0Compare Source
What's Changed
Cors::allow_private_networkby @chrislearn in #1194Full Changelog: salvo-rs/salvo@v0.83.0...v0.84.0
v0.83.0Compare Source
What's Changed
Full Changelog: salvo-rs/salvo@v0.82.0...v0.83.0
v0.82.0Compare Source
What's Changed
into_boxedfunction to acceptors and add DynTcpAcceptors by @chrislearn in #1180Cargo.tomlby @chrislearn in #1184New Contributors
Full Changelog: salvo-rs/salvo@v0.81.0...v0.82.0
v0.81.0Compare Source
What's Changed
unix-sock-clientto the full futures for salvo-proxy by @18o in #1160Full Changelog: salvo-rs/salvo@v0.80.0...v0.81.0
v0.80.0Compare Source
What's Changed
salvo-captcharepository URL by @TheAwiteb in #1151New Contributors
Full Changelog: salvo-rs/salvo@v0.79.0...v0.80.0
v0.79.0Compare Source
What's Changed
New Contributors
Full Changelog: salvo-rs/salvo@v0.78.0...v0.79.0
v0.78.0Compare Source
What's Changed
New Contributors
Full Changelog: salvo-rs/salvo@v0.77.1...v0.78.0
v0.77.1Compare Source
What's Changed
Full Changelog: salvo-rs/salvo@v0.77.0...v0.77.1
v0.77.0Compare Source
What's Changed
server::ServerHandle::stop_gracefulby @YBoy-git in #1049opentelemetry-prometheusto 0.28 by @chrislearn in #1064New Contributors
Full Changelog: salvo-rs/salvo@v0.76.2...v0.77.0
v0.76.2Compare Source
What's Changed
salvo-proxyby @markcda in #1045New Contributors
Full Changelog: salvo-rs/salvo@v0.76.1...v0.76.2
v0.76.1Compare Source
What's Changed
New Contributors
Full Changelog: salvo-rs/salvo@v0.76.0...v0.76.1
v0.76.0Compare Source
What's Changed
New Contributors
Full Changelog: salvo-rs/salvo@v0.75.0...v0.76.0
v0.75.0Compare Source
What's Changed
New Contributors
Full Changelog: salvo-rs/salvo@v0.74.3...v0.75.0
v0.74.3Compare Source
What's Changed
New Contributors
Full Changelog: salvo-rs/salvo@v0.74.2...v0.74.3
v0.74.2Compare Source
What's Changed
rust-version = { workspace = true }to cratesCargo.tomlby @chrislearn in #975force-httpsshould depends onsalvo_core/rustlsby @chrislearn in #978New Contributors
Full Changelog: salvo-rs/salvo@v0.74.1...v0.74.2
v0.74.1Compare Source
What's Changed
Request::try_all_filesis not work correctly by @chrislearn in #970New Contributors
Full Changelog: salvo-rs/salvo@v0.74.0...v0.74.1
v0.74.0Compare Source
What's Changed
try_set_headeradd#[inline(always)]by @andeya in #951let _ = ...to replaceresult.ok(). by @chrislearn in #954New Contributors
Full Changelog: salvo-rs/salvo@v0.73.0...v0.74.0
v0.73.0Compare Source
What's Changed
self.0is shadowed, it is convenient to directly call theself.deref()method. by @andeya in #936Full Changelog: salvo-rs/salvo@v0.72.4...v0.73.0
v0.72.4Compare Source
What's Changed
Full Changelog: salvo-rs/salvo@v0.72.3...v0.72.4
v0.72.3Compare Source
What's Changed
New Contributors
Full Changelog: salvo-rs/salvo@v0.72.2...v0.72.3
v0.72.2Compare Source
What's Changed
New Contributors
Full Changelog: salvo-rs/salvo@v0.72.1...v0.72.2
v0.72.1Compare Source
What's Changed
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.