Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged user with upload rights
-
DeliveryUpload file with percent-encoded HTML/JS name
-
ExploitVictim (incl. admin) clicks the thumbnail
-
Executionexpand_thumbnail decodes name and runs jQuery .html()
-
ImpactScript executes in victim's authenticated session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated Saltcorn account that can upload files (PR:L) and requires a second user to actively click the uploaded file's thumbnail (UI:P) before the payload fires. The concrete trigger is a filename containing percent-encoded HTML/JavaScript: the expand_thumbnail() function in saltcorn.js decodes it with decodeURIComponent and inserts it into the DOM via jQuery .html(), so the file-thumbnail view is the exact feature that must be used. Limiting factors that reduce real-world risk: the attacker cannot act fully unauthenticated, no automation is implied, and the script only executes on victim interaction; the aggravating factor is that the clicking victim may be an administrator, yielding a privileged session context. |
| Impact | This is a medium-severity stored DOM-based XSS (CVSS 4.0 base 5.1) whose real-world risk is moderate and bounded rather than urgent. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N with subsequent-system SC:L/SI:L) confirms two meaningful brakes on exploitation: PR:L means the attacker must already hold an authenticated Saltcorn account with file-upload capability, and UI:P means a victim must actively click the malicious thumbnail for the payload to fire. The vuln.today decision label is 'this_month' - a routine-patch priority, not act_now or emergency - which is consistent with the limited impact metrics (all Low, no availability impact). No EPSS score was provided, the CVE is not on CISA KEV, and no confirmed working exploit code is referenced, so there is no evidence of active or automatable exploitation. The one aggravating factor noted in the description is that the victim can be an administrator, so a low-privileged insider could escalate influence by capturing an admin session in the browser context. Net: a genuine but internally-scoped, interaction-and-authentication-gated issue - schedule it for normal patching rather than treating it as a drop-everything emergency. Reporter is VulnCheck; impact figures are vendor/NVD-style CVSS only and not independently corroborated by exploitation telemetry. |
| Exploit ScenarioDerived | A low-privileged but authenticated Saltcorn user uploads a file whose name is a percent-encoded HTML/JavaScript payload. Later, when any user - potentially an administrator - browses the file list and clicks the file's thumbnail, the expand_thumbnail() routine decodes the name with decodeURIComponent and injects it via jQuery .html(), executing the attacker's script in the victim's authenticated session. No public working exploit code is identified at time of analysis, though VulnCheck's advisory and the referenced source lines document the exact code path. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Stored DOM-based cross-site scripting in Saltcorn (the @saltcorn/server package) through 1.7.0-beta.5 lets an authenticated user with file-upload permission store a malicious script that executes in another user's browser when that user clicks the affected file's thumbnail. The payload rides in a percent-encoded HTML filename, which the expand_thumbnail() function decodes with decodeURIComponent and inserts into the page through jQuery .html(); because the clicking victim can be an administrator, the script can run in a privileged session context. Exploitation requires a valid account that can upload files (PR:L) plus a second user's click (UI:P), so this is a moderate, interaction-gated risk rather than an urgent one; no public exploit code and no confirmed active exploitation were identified at time of analysis, and the priority label places remediation in this month's cycle.
RemediationAI
No vendor-released patch or fixed version is identified in the available data; the supplied references point to the vulnerable source at tag v1.7.0-beta.5 and to the VulnCheck advisory (https://www.vulncheck.com/advisories/saltcorn-through-1.7.0-beta.5-stored-dom-xss-via-uploaded-file-name-in-thumbnail), not to a corrective release, so administrators should track the Saltcorn repository and the advisory for a patched build and treat upgrading as the complete fix once one is published. In the interim, the documented preconditions point to concrete compensating controls: restrict file-upload capability to a small, trusted set of roles, since the attacker must be an authenticated uploader (PR:L) - the trade-off is reduced self-service for content editors; and warn administrators and other privileged users not to click thumbnails of files with unusual, percent-encoded or markup-like names, since execution requires a victim click (UI:P) - a procedural control that is unreliable at scale and does not remove the stored payload. Blocking uploads whose filenames contain percent-encoded or angle-bracket characters at a reverse proxy or WAF adds a further layer, with the trade-off of possible false positives on legitimate non-ASCII filenames. None of these controls replaces the upstream fix, and the priority label indicates remediation should be scheduled within the current month rather than treated as an emergency.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a CWE-79 cross-site scripting issue with a stored, DOM-based delivery path. Filenames are attacker-controlled data that Saltcorn treats as display text; the vulnerable code path takes a filename containing percent-encoded HTML or JavaScript, passes it through decodeURIComponent, and hands the decoded string to jQuery's .html() sink inside expand_thumbnail(), which parses it as markup rather than escaping it as text. The relevant code is visible in the upstream repository at tag v1.7.0-beta.5: the thumbnail expansion logic in packages/server/public/saltcorn.js (lines 431-438), the file-view plugin implementation in packages/saltcorn-data/base-plugin/fileviews.ts (lines 560-590), and the file model code in packages/saltcorn-data/models/file.ts (lines 1050-1062). The stored aspect comes from the malicious name persisting on the uploaded file record, while the DOM-based aspect comes from client-side decoding and insertion at render time. CPE data identifies cpe:2.3:a:saltcorn:@saltcorn/server as the affected component, and ENISA EUVD records the affected range as @saltcorn/server 0 through 1.7.0-beta.5. The independent assessment rates the issue CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N, i.e. low confidentiality and integrity impact within a changed scope, no availability impact, and a mandatory victim interaction.
Know when Saltcorn gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Authenticated uploader (PR:L) plants a payload that a different user must click (UI:R); XSS runs in the victim's browser context (S:C) with limited confidentiality/integrity and no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Saltcorn through 1.7.0-beta.5 contains a stored DOM-based cross-site scripting vulnerability that allows authenticated users to inject script by uploading files with percent-encoded HTML names. The expand_thumbnail() function decodes the file name with decodeURIComponent and inserts it via jQuery .html(), executing script when any user, including administrators, clicks the thumbnail.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
SQL injection in Saltcorn's mobile-sync routes lets any authenticated low-privilege user with read access to a single ta
Path traversal in Saltcorn's mobile sync endpoints enables remote unauthenticated attackers to write arbitrary JSON file
Open redirect in Saltcorn's post-login destination parameter validation allows attackers to redirect authenticated users
EUVD-2026-141528
GHSA-q54x-vxcw-hp7q
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB