Kalmia through 0.2.0 Stored XSS via Unrestricted File Upload
- State
- Published
- Severity
- 5.1 Medium
- Published
- Nov 16, 2026
- Updated
- Nov 16, 2026
- Reserved
- Nov 16, 2026
Description
Kalmia through 0.2.0 contains a stored cross-site scripting vulnerability that allows read-only authenticated users to upload HTML or SVG files via the upload-file endpoint without type restrictions. Attackers can share links to files served unauthenticated through the file get route, executing JavaScript in the admin origin to steal administrator JWTs from localStorage.
| Product | Versions |
|---|---|
| Kalmia DifuseHQ | 0.2.0 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.1 Medium | VulnCheck | |
| 3.1 | 5.4 Medium | VulnCheck |
Weaknesses
- CWE-434 Unrestricted Upload of File with Dangerous Type
References
- GitHub Issue #35Issue Tracker
- https://github.com/DifuseHQ/Kalmia/blob/1bc059450c3901b17e1be99209965b12f6d163e4/handlers/file.go#L19-L61Technical Details
- https://github.com/DifuseHQ/KalmiaProduct Page
- VulnCheck Advisory: Kalmia through 0.2.0 Stored XSS via Unrestricted File UploadThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.