AploSec / Disclosures / CVE-2026-142156

Medium 5.1ReportedNo fix listedCWE-79npm

Saltcorn through 1.7.0-beta.5 Stored DOM XSS via Uploaded File Name in Thumbnail

CVE-2026-142156 · published 2026-12-02

In plain words: this type of bug lets someone run scripts in another person's browser (cross-site scripting, XSS). No fixed release is listed yet.

Summary

CVE-2026-142156 affects @saltcorn/server (npm) <= 1.7.0-beta.5: Stored DOM XSS via Uploaded File Name in Thumbnail (CWE-79). No fixed release is listed. CVSS 4.0 base score 5.1 (Medium), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

References

Severity
Medium 5.1CVSS 4.0, scored by VulnCheck in the CVE record
Package
@saltcorn/server
Ecosystem
npm
Affected
<= 1.7.0-beta.5
Fixed
None
Weakness
CWE-79
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finder