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
Source GCVE Database
Not known to be exploited · CVSS 5.1 Medium.
Data as of 2 Dec 2026, 19:46 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 5.1 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 5.4 |
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Saltcorn@saltcorn/server | Affected
| Fixed in– |
npm@saltcorn/serverpkg:npm/@saltcorn/serverOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- nvd.nist.gov/vuln/detail/CVE-2026-142156 (opens in a new tab)
- github.com/saltcorn/saltcorn/blob/v1.7.0-beta.5/packages/saltcorn-data/base-plugin/fileviews.ts (opens in a new tab)
- github.com/saltcorn/saltcorn/blob/v1.7.0-beta.5/packages/saltcorn-data/models/file.ts (opens in a new tab)
- github.com/saltcorn/saltcorn/blob/v1.7.0-beta.5/packages/server/public/saltcorn.js (opens in a new tab)
- vulncheck.com/advisories/saltcorn-through-1.7.0-beta.5-stored-dom-xss-via-uploaded-file-name-in-thumbnail (opens in a new tab)