CVE-2026-22257CWE-79

Salvo is vulnerable to stored XSS in the list_html function by uploading files with malicious names

High · published January 8, 2026

CVSS v3.1
8.8
EPSS
0%
Percentile
25.6
In the wild
Unconfirmed
What it is

⚡ A careless file view can turn your public folder into a playground for attackers!✨ Think of it as a restaurant displaying menu items with no labels. If someone can swap out a dish name for something unappetizing, unsuspecting diners might get served something they didn’t order. That's what's happening here—unvalidated file names could lead to XSS attacks! An attacker could maliciously craft a file name that runs harmful scripts when users access the folder view. This could lead to stealing sensitive information or hijacking user sessions—absolutely devastating for both the users and your website's reputation!

Put simply

Think of it as a restaurant displaying menu items with no labels. If someone can swap out a dish name for something unappetizing, unsuspecting diners might get served something they didn’t order. That's what's happening here—unvalidated file names could lead to XSS attacks! The vulnerability in Salvo's `list_html` function fails to sanitize file and folder names, allowing an XSS attack when public file access is enabled. Users might inadvertently run unsafe scripts uploaded by others, compromising their security.

What to do

An attacker could maliciously craft a file name that runs harmful scripts when users access the folder view. This could lead to stealing sensitive information or hijacking user sessions—absolutely devastating for both the users and your website's reputation! Upgrade Salvo to version 0.88.1 immediately to close this security gap. Additionally, implement stringent sanitization checks for uploaded file names and review other input handling processes to bolster overall security. You don’t want to leave a door open for attackers! You've got this! Activate your security hero status and get your site safely patched up! 🛡️

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00334 · 25.6th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-01-08T18:22Z
EPSS history
Timeline
  • 08 JAN 18:22Z
    Salvo is vulnerable to stored XSS in the list_html function by uploading files with malicious names
    cvelistv5