CVE-2026-22257: salvo · Cross-site Scripting
Affects salvoSource CVE Database V5
Not known to be exploited · CVSS 8.8 High : upgrade to 0.88.1 soon.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 26% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.88.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 8 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Upgrade salvo and github/salvo-rs/salvo to 0.88.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| salvo-rssalvo | Affected
| Fixed in
|
crates.iogithub/salvo-rs/salvopkg:cargo/github/salvo-rs/salvoOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should immediately upgrade all salvo framework instances to version 0.88.1 or later to apply the official patch that sanitizes file and folder names. Additionally, implement strict input validation and sanitization on all user-supplied data, especially file names and metadata. Restrict or disable public file uploads where possible, or enforce rigorous file type and content validation to prevent malicious payloads. Employ Content Security Policy (CSP) headers to reduce the impact of potential XSS by restricting script execution sources. Monitor web application logs for unusual file upload activity and anomalous requests targeting the list_html feature. Conduct regular security audits and penetration tests focusing on XSS vulnerabilities in web interfaces. Educate developers on secure coding practices related to output encoding and input sanitization in Rust web frameworks.
Description
Salvo is a Rust web backend framework. Prior to version 0.88.1, the function list_html generates a file view of a folder without sanitizing the files or folders names, this may potentially lead to XSS in cases where a website allow the access to public files using this feature and anyone can upload a file. This issue has been patched in version 0.88.1.