Skip to content
Medium 5.4

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

CVE-2026-142156 First seen on SecPulse

Affected packages

PackageAffected → Fixed
Saltcorn@saltcorn/server
≤ 1.7.0-beta.5→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details