Saltcorn through 1.7.0-beta.5 Stored DOM XSS via Uploaded File Name in Thumbnail
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Saltcorn@saltcorn/server |
≤ 1.7.0-beta.5→ Not listed |
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
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- web github.com
- web github.com
- web github.com