CVE-2026-142156
Saltcorn through 1. 7. 0- beta. 5 Stored DOM XSS via Uploaded File Name in Thumbnail
- Severity
- 5.1MediumNetwork attack, low privileges, needs user interactionCVSS 4.0, CVE List
- Exploitation
- UnknownNo source reports exploitation yet.
- Exploit chance
- 0.38% in 30 daysPercentile33rdEPSS, scored
- Listed fix
- None listedNo source lists a fixed version in its version data.Check the description and references.
Overview
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.
CVSS 4.0 vector
Exploitability
- Attack vector
- Network
- Complexity
- Low
- Attack requirements
- None
- Privileges needed
- Low
- User interaction
- Passive
Impact on the vulnerable system
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Impact on subsequent systems
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:NExploit chance over time
Affected
Products 1
Sources
CVE List Score usedCVSS 4.05.1
Saltcorn through 1.7.0-beta.5 Stored DOM XSS via Uploaded File Name in Thumbnail
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.
- Record
CVE-2026-142156- CVSS 4.0
- 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 - CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-12-02
EUVDEUVD-2026-141528CVSS 4.05.1
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.
- Record
EUVD-2026-141528- CVSS 4.0
- 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 - Updated
- 2026-12-02
GitHub AdvisoriesGHSA-q54x-vxcw-hp7qCVSS 4.05.1
Saltcorn through 1.7.0-beta.5 contains a stored DOM-based cross-site scripting vulnerability that...
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.
- Record
GHSA-q54x-vxcw-hp7q- CVSS 4.0
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-12-02
NVDCVSS 4.05.1
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.
- Record
CVE-2026-142156- CVSS 4.0
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-12-02
OSVCVSS 4.05.1
Saltcorn through 1.7.0-beta.5 Stored DOM XSS via Uploaded File Name in Thumbnail
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.
- Record
CVE-2026-142156- CVSS 4.0
- 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 - Weakness
- CWE-79
- Updated
- 2026-12-03
History
Recorded by Every CVE
| Day | Changed | Sources |
|---|---|---|
| Published date | EUVD | |
| Published date | CVE List, EUVD, NVD | |
| Other IDs, references, severity | GitHub Advisories | |
| Other IDs, published date | EUVD | |
| References | OSV | |
| Severity | NVD | |
| First indexed | CVE List |
Upstream dates may differ.
References
github.com/saltcorn/saltcorn/blob/v1.7.0-beta.5/packages/server/public/saltcorn.js
github.com/saltcorn/saltcorn/blob/v1.7.0-beta.5/packages/saltcorn-data/base-plugin/fileviews.ts
github.com/saltcorn/saltcorn/blob/v1.7.0-beta.5/packages/saltcorn-data/models/file.ts
vulncheck.com/advisories/saltcorn-through-1.7.0-beta.5-stored-dom-xss-via-uploaded-file-name-in-thumbnail
nvd.nist.gov/vuln/detail/CVE-2026-142156
github.com/advisories/GHSA-q54x-vxcw-hp7q
github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142156.json
github.com/saltcorn/saltcorn