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

Published Dec 2, 2026
·
Updated

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 expandthumbnail() function decodes the file name with decodeURIComponent and inserts it via jQuery .html(), executing script when any user, including administrators, clicks the thumbnail.

Affected Software

1 affected component
Saltcorn Saltcorn<=1.7.0-beta.5

Event History

Dec 2, 2026
CVE Published
via MITRE·04:51 PM
Data Sourced
via MITRE·04:51 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue, and what interaction is required?

An authenticated user can upload a file whose name contains percent-encoded HTML or script content. The injected script executes when another user, including an administrator, clicks that file's thumbnail.

2

Are administrators exposed even if they did not upload the file?

Yes. Any user who clicks the thumbnail of a maliciously named uploaded file can trigger the stored DOM XSS, including administrators.

3

How can I determine whether my instance may be affected?

Instances running Saltcorn through 1.7.0-beta.5 may be affected. Review uploaded filenames for percent-encoded HTML-like content and treat thumbnails for suspicious files as potentially unsafe to open.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203