{"id":"CVE-2026-22257","state":"PUBLISHED","title":"Salvo is vulnerable to stored XSS in the list_html function by uploading files with malicious names","description":"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.","publishedAt":"2026-01-08T18:22:05.661Z","updatedAt":"2026-01-08T18:38:12.920Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["salvo-rs salvo"],"affected":[{"vendor":"salvo-rs","product":"salvo","versions":[{"version":"< 0.88.1","status":"affected"}]}],"references":["https://github.com/salvo-rs/salvo/security/advisories/GHSA-54m3-5fxr-2f3j","https://github.com/salvo-rs/salvo/blob/16efeba312a274739606ce76366d921768628654/crates/serve-static/src/dir.rs#L581"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/22xxx/CVE-2026-22257.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-22257","state":"PUBLISHED","datePublished":"2026-01-08T18:22:05.661Z","dateUpdated":"2026-01-08T18:38:12.920Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-01-07T05:19:12.922Z"},"containers":{"cna":{"title":"Salvo is vulnerable to stored XSS in the list_html function by uploading files with malicious names","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."}],"affected":[{"vendor":"salvo-rs","product":"salvo","versions":[{"version":"< 0.88.1","status":"affected"}]}],"references":[{"url":"https://github.com/salvo-rs/salvo/security/advisories/GHSA-54m3-5fxr-2f3j","name":"https://github.com/salvo-rs/salvo/security/advisories/GHSA-54m3-5fxr-2f3j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/salvo-rs/salvo/blob/16efeba312a274739606ce76366d921768628654/crates/serve-static/src/dir.rs#L581","name":"https://github.com/salvo-rs/salvo/blob/16efeba312a274739606ce76366d921768628654/crates/serve-static/src/dir.rs#L581","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-01-08T18:22:05.661Z"},"source":{"advisory":"GHSA-54m3-5fxr-2f3j","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-01-08T18:37:08.251260Z","id":"CVE-2026-22257","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-01-08T18:38:12.920Z"}}]}}}