{"id":"CVE-2026-22257","aliases":["GHSA-54m3-5fxr-2f3j"],"url":"https://o3.security/vulnerability/CVE-2026-22257","summary":"Salvo is vulnerable to stored XSS in the list_html function by uploading files with malicious names","details":"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":"2026-01-08T18:22:05.661Z","modified":"2026-07-15T01:49:00.178555067Z","cvss":{"score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"salvo","fixedVersion":"0.88.1"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/salvo-rs/salvo/blob/16efeba312a274739606ce76366d921768628654/crates/serve-static/src/dir.rs#L581"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22257.json"},{"type":"ADVISORY","url":"https://github.com/salvo-rs/salvo/security/advisories/GHSA-54m3-5fxr-2f3j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22257"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:49:00.178555067Z"}}