{"cve":"CVE-2026-22256","nvd":{"published":"2026-01-08T19:16:00.107","modified":"2026-06-17T10:19:38.800","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L","score":8.8},"cwes":["CWE-79"],"references":["https://github.com/salvo-rs/salvo/blob/16efeba312a274739606ce76366d921768628654/crates/serve-static/src/dir.rs#L593","https://github.com/salvo-rs/salvo/security/advisories/GHSA-rjf8-2wcw-f6mp"],"products":["salvo:salvo"],"source":"nvd","synced_at":"2026-10-19T22:19:41.481987139+00:00"},"epss":{"cve":"CVE-2026-22256","score":0.00334,"percentile":0.26816,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-rjf8-2wcw-f6mp","url":"https://osv.dev/vulnerability/GHSA-rjf8-2wcw-f6mp","summary":"Salvo is vulnerable to reflected XSS in the list_html function","modified":"2026-02-03T03:15:26.215442Z","packages":[{"ecosystem":"crates.io","name":"salvo","purl":"pkg:cargo/salvo","ranges":["<0.88.1"],"fixed":["0.88.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}