CVE-2026-22256CWE-79

Salvo is vulnerable to reflected XSS in the list_html function

High · published January 8, 2026

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

⚡ A sneaky flaw in Salvo before version 0.88.1 could allow reflected XSS simply by accessing a specific folder! 🌐 Think of a web server as a restaurant menu — if the chef serves up uncensored dishes just because a customer asked for them, things can get messy. Here, the current path is like an unfiltered order that gets tossed right onto the plate without a second thought! An attacker could exploit this vulnerability to inject malicious scripts into the HTML output, potentially gaining unauthorized access to users' sessions or sensitive information. Imagine a diner unwittingly consuming a dish laced with harmful ingredients — users' data could be at serious risk!

Put simply

Think of a web server as a restaurant menu — if the chef serves up uncensored dishes just because a customer asked for them, things can get messy. Here, the current path is like an unfiltered order that gets tossed right onto the plate without a second thought! This vulnerability arises from insufficient sanitation in the list_html function of Salvo, allowing reflected XSS if the request path is crafted correctly. The path is decoded and normalized, but then inserted into the HTML raw, creating a perfect opportunity for attackers.

What to do

An attacker could exploit this vulnerability to inject malicious scripts into the HTML output, potentially gaining unauthorized access to users' sessions or sensitive information. Imagine a diner unwittingly consuming a dish laced with harmful ingredients — users' data could be at serious risk! Upgrade to Salvo version 0.88.1 or later to patch this vulnerability. Additionally, ensure proper input validation and sanitation for any user-supplied data before rendering it in HTML. You've got this! With a quick update, you can keep your users safe and secure. 🛡️

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:21Z
EPSS history
Timeline
  • 08 JAN 18:21Z
    Salvo is vulnerable to reflected XSS in the list_html function
    cvelistv5