Salvo is vulnerable to reflected XSS in the list_html function
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| salvo-rs | salvo | before 0.88.1 | 0.88.1 | Patch available | CNA |
| — | salvo (crates.io) | before 0.88.1 | 0.88.1 | Patch available | GHSA-rjf8-2wcw-f6mp |
- salvo Vendorsalvo-rs Affected before 0.88.1 Fixed in 0.88.1 Patch available CNA
- salvo (crates.io) Vendor— Affected before 0.88.1 Fixed in 0.88.1 Patch available GHSA-rjf8-2wcw-f6mp
Remediation
- Fix · CNA salvo (salvo-rs) Fixed in 0.88.1
- Fix · GHSA-rjf8-2wcw-f6mp salvo (crates.io) Fixed in 0.88.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-22256
- 2026-10-03 Alias added: GHSA-rjf8-2wcw-f6mp
References
More salvo-rs Salvo vulnerabilities
- TI-2026-25659 Salvo Affected by Denial of Service via Unbounded Memory Allocation in Form Data Parsing CVSS 4.0HIGH 8.7
- TI-2026-25660 Salvo has a Path Traversal in salvo-proxy::encode_url_path allows API Gateway Bypass CVSS 3.1HIGH 7.5
- TI-2026-17867 Salvo is vulnerable to stored XSS in the list_html function by uploading files with malicious names CVSS 3.1HIGH 8.8
Sources
- CVE-2026-22256 · CVE Program
- CVE-2026-22256 · NVD
- FIRST EPSS
- GHSA-rjf8-2wcw-f6mp · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences