CVE-2026-22257
HIGH 8.8CVSS 3.1Salvo is vulnerable to stored XSS in the list_html function by uploading files with malicious names
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.
- Published
- 8 Jan 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-54m3-5fxr-2f3j
- Sources
- NVDJSONOSV GHSA-54m3-5fxr-2f3jJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | salvo | salvocpe:2.3:a:salvo:salvo:*:*:*:*:*:rust:*:* |
< 0.88.1 | 0.88.1 |
| OSV | crates.io | salvo | < 0.88.1 | 0.88.1 |
References
- https://github.com/salvo-rs/salvo/blob/16efeba312a274739606ce76366d921768628654/crates/serve-static/src/dir.rs#L581 · Patch, WEB
- https://github.com/salvo-rs/salvo/security/advisories/GHSA-54m3-5fxr-2f3j · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-22257 · ADVISORY
- https://github.com/salvo-rs/salvo · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 8 Jan 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 8 Jan 2026)