CVE-2026-22257

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:salvo:salvo:*:*:*:*:*:rust:*:*

History

05 Mar 2026, 17:42

Type Values Removed Values Added
First Time Salvo salvo
Salvo
CPE cpe:2.3:a:salvo:salvo:*:*:*:*:*:rust:*:*
References () https://github.com/salvo-rs/salvo/blob/16efeba312a274739606ce76366d921768628654/crates/serve-static/src/dir.rs#L581 - () https://github.com/salvo-rs/salvo/blob/16efeba312a274739606ce76366d921768628654/crates/serve-static/src/dir.rs#L581 - Patch
References () https://github.com/salvo-rs/salvo/security/advisories/GHSA-54m3-5fxr-2f3j - () https://github.com/salvo-rs/salvo/security/advisories/GHSA-54m3-5fxr-2f3j - Exploit, Vendor Advisory

08 Jan 2026, 19:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-08 19:16

Updated : 2026-03-05 17:42


NVD link : CVE-2026-22257

Mitre link : CVE-2026-22257

CVE.ORG link : CVE-2026-22257


JSON object : View

Products Affected

salvo

  • salvo
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')