CVE-2026-22256
HIGHsalvo < 0.88.1 - Reflected Cross-Site Scripting via Path Rendering
Title source: llmDescription
Salvo is a Rust web backend framework. Prior to version 0.88.1, the function list_html generate an file view of a folder which include a render of the current path, in which its inserted in the HTML without proper sanitation, this leads to reflected XSS using the fact that request path is decoded and normalized in the matching stage but not is inserted raw in the html view (current.path), the only constraint here is for the root path (eg. /files in the PoC example) to have a sub directory (e.g common ones styles/scripts/etc…) so that the matching return the list HTML page instead of the Not Found page. This issue has been patched in version 0.88.1.
References (2)
Core 2
Core References
Vendor Advisory x_refsource_confirm
https://github.com/salvo-rs/salvo/security/advisories/GHSA-rjf8-2wcw-f6mp
Various Sources x_refsource_misc
https://github.com/salvo-rs/salvo/blob/16efeba312a274739606ce76366d921768628654/crates/serve-static/src/dir.rs#L593
Scores
CVSS v3
8.8
EPSS
0.0030
EPSS Percentile
21.6%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-79
Status
published
Products (2)
crates.io/salvo
0 - 0.88.1crates.io
salvo/salvo
< 0.88.1
Published
Jan 08, 2026
Tracked Since
Feb 18, 2026