{"id":"CVE-2026-22257","sourceIdentifier":"security-advisories@github.com","published":"2026-01-08T19:16:00.277","lastModified":"2026-06-17T10:19:38.910","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Salvo es un framework de backend web en Rust. Antes de la versión 0.88.1, la función list_html genera una vista de archivos de una carpeta sin sanear los nombres de los archivos o carpetas, lo que puede potencialmente llevar a XSS en casos donde un sitio web permite el acceso a archivos públicos usando esta característica y cualquiera puede subir un archivo. Este problema ha sido parcheado en la versión 0.88.1."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"salvo-rs","product":"salvo","versions":[{"version":"< 0.88.1","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"LOW","availabilityImpact":"LOW"},"exploitabilityScore":2.8,"impactScore":5.3}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-01-08T18:37:08.251260Z","id":"CVE-2026-22257","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-79"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:salvo:salvo:*:*:*:*:*:rust:*:*","versionEndExcluding":"0.88.1","matchCriteriaId":"E869772F-499D-4D50-8718-6D68B3AC6543"}]}]}],"references":[{"url":"https://github.com/salvo-rs/salvo/blob/16efeba312a274739606ce76366d921768628654/crates/serve-static/src/dir.rs#L581","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/salvo-rs/salvo/security/advisories/GHSA-54m3-5fxr-2f3j","source":"security-advisories@github.com","tags":["Exploit","Vendor Advisory"]}]}