{"id":"CVE-2026-22257","published":"2026-01-08T18:22:05Z","modified":"2026-01-08T18:38:12Z","title":"Salvo is vulnerable to stored XSS in the list_html function by uploading files with malicious names","vendor":"salvo-rs","product":"salvo","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00422,"percentile":0.28163,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/salvo-rs/salvo/security/advisories/GHSA-54m3-5fxr-2f3j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/salvo-rs/salvo/blob/16efeba312a274739606ce76366d921768628654/crates/serve-static/src/dir.rs#L581","tags":["x_refsource_MISC"]}],"priority":{"score":11.8,"factors":[{"name":"EPSS percentile","points":5.63},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"salvo-rs","affectedVersions":[{"vendor":"salvo-rs","product":"salvo","versions":["< 0.88.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-08T18:37:08.251260Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"salvo","vulnerableRanges":["<0.88.1"],"patched":["0.88.1"],"from":["GHSA-54m3-5fxr-2f3j"],"provenance":"source"}],"summary":{"text":"Salvo, a Rust web backend framework, contains a stored cross-site scripting flaw in its list_html function, which generates directory listings without sanitizing file and folder names (fixed in version 0.88.1). An attacker who can upload a file with a malicious name to a publicly accessible directory served by this feature can have script execute in the browser of a user who views that listing, which requires user interaction and, in practice, a site that exposes public uploads through this function.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:50:21Z"},"euvd":{"id":"EUVD-2026-1423","exploited":false,"provenance":"source"}}