CVE-2026-142156
Saltcorn through 1.7.0-beta.5 contains a stored DOM-based …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/saltcorn/saltcorn/blob/v1.7.0-beta.5/packages/saltcorn-data/base-plugin/filevie
- github.com/saltcorn/saltcorn/blob/v1.7.0-beta.5/packages/saltcorn-data/models/file.ts#L105
- github.com/saltcorn/saltcorn/blob/v1.7.0-beta.5/packages/server/public/saltcorn.js#L431-L4
- www.vulncheck.com/advisories/saltcorn-through-1.7.0-beta.5-stored-dom-xss-via-uploaded-fil
- nvd.nist.gov/vuln/detail/CVE-2026-142156
- cve.org/CVERecord?id=CVE-2026-142156
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.