LiveActive security incident?Get immediate response
CVE Record

CVE-2026-22257: Salvo is vulnerable to stored XSS in the list_html function by uploading files with malicious names

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.

HighCVSS 8.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2026-22257 affects Salvo, a Rust web backend framework. Before version 0.88.1, a folder listing feature can display uploaded file or folder names without proper sanitization. If an application lets users upload publicly accessible files and uses this listing feature, a malicious filename could run script in another user’s browser.

Executive priority

Prioritize remediation for internet-facing applications that combine public file listings with user uploads. The business risk is browser-side compromise of users or administrators who view affected listings, not direct server takeover based on current sources.

Technical view

The issue is a stored cross-site scripting vulnerability in Salvo’s list_html directory listing generation. File and folder names are rendered into HTML without sanitization. The CVSS v3.1 score is 8.8 with network attack vector, low complexity, no privileges required, and user interaction required. It is categorized as CWE-79 and fixed in Salvo 0.88.1.

Likely exposure

Exposure is likely limited to applications using Salvo versions before 0.88.1 that expose public directory listings through list_html and allow untrusted users to upload or create filenames in those listings.

Exploitation context

The provided sources do not report active exploitation, and the CVE is not marked as KEV. Exploitation requires a victim to view an affected directory listing containing a malicious file or folder name.

Researcher notes

The vulnerable area is Salvo’s serve-static directory listing implementation. Evidence points to unsanitized file and folder names in list_html before 0.88.1. Do not assume broader Salvo components are affected without further evidence.

Mitigation direction

  • Upgrade Salvo to version 0.88.1 or later.
  • Identify Salvo applications using public directory listing features.
  • Restrict untrusted uploads from appearing in public directory listings.
  • Review vendor advisory for any additional project-specific guidance.

Validation and detection

  • Inventory Rust applications that depend on Salvo.
  • Confirm deployed Salvo versions are 0.88.1 or later.
  • Check whether list_html or static directory listing functionality is enabled.
  • Verify untrusted filenames are not rendered unsanitized in public listings.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-22257 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.8CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L2.85.3Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

8.8High
CVSS 3.1 vector shape for CVE-2026-22257Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
salvo-rssalvo< 0.88.1Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.