Unrated severityNVD Advisory· Published Dec 2, 2026
Saltcorn through 1.7.0-beta.5 Stored DOM XSS via Uploaded File Name in Thumbnail
CVE-2026-142156
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.
Patches
Vulnerability mechanics
References
4- www.vulncheck.com/advisories/saltcorn-through-1.7.0-beta.5-stored-dom-xss-via-uploaded-file-name-in-thumbnailmitrethird-party-advisory
- github.com/saltcorn/saltcorn/blob/v1.7.0-beta.5/packages/saltcorn-data/base-plugin/fileviews.tsmitretechnical-description
- github.com/saltcorn/saltcorn/blob/v1.7.0-beta.5/packages/saltcorn-data/models/file.tsmitretechnical-description
- github.com/saltcorn/saltcorn/blob/v1.7.0-beta.5/packages/server/public/saltcorn.jsmitretechnical-description
News mentions
0No linked articles in our index yet.