CVE-2026-22257 json
Salvo is vulnerable to stored XSS in the list_html function by uploading files with malicious names
published 2026-01-08 10 mo ago modified 2026-06-17 4 mo ago also GHSA-54m3-5fxr-2f3j , EUVD-2026-1423
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 26%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- crates.io salvo 0.88.1
- salvo salvo 0.88.1
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 10 mo ago
Exploit prediction
0.33% chance of exploitation in the next 30 days, higher than 26% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/salvo-rs/salvo/security/advisories/GHSA-54m3-5fxr-2f3j referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | salvo | <0.88.1 |
0.88.1 |
Affected products
- salvo-rs salvo
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/salvo-rs/salvo/blob/16efeba312a274739606ce76366d921768628654/crates/serve-static/src/dir.rs#L581
web, patch
-
github.com
/salvo-rs/salvo/security/advisories/GHSA-54m3-5fxr-2f3j
web, exploit, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-22257
advisory
-
github.com
/salvo-rs/salvo
package
Sources
- CVE List CVE-2026-22257
- GitHub Advisory GHSA-54m3-5fxr-2f3j
- NVD CVE-2026-22257
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.