Skip to main content

Saltcorn EUVDEUVD-2026-141528

| CVE-2026-142156 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-12-02 VulnCheck GHSA-q54x-vxcw-hp7q
5.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privileged user with upload rights
  2. Delivery
    Upload file with percent-encoded HTML/JS name
  3. Exploit
    Victim (incl. admin) clicks the thumbnail
  4. Execution
    expand_thumbnail decodes name and runs jQuery .html()
  5. Impact
    Script 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

@saltcorn/server 0 ≤1.7.0-beta.5

Affected Packages

euvd saltcorn_server no fix

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

Vendor (VulnCheck) PRIMARY 5.1 MEDIUM
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
vuln.today AI 5.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

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

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Low
Saltcorn is a niche open-source low-code app builder, limited enterprise footprint
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy