Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as read-only user
-
ExploitUpload malicious HTML/SVG via upload-file endpoint
-
ExecutionShare unauthenticated file link with administrator
-
ImpactExecute JavaScript in admin origin, steal JWT from localStorage
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires: (1) a valid read-only authenticated Kalmia account (PR:L) to reach the upload-file endpoint; (2) the upload-file handler accepting HTML/SVG without type restriction (the core defect in handlers/file.go); (3) the file get route serving uploaded content unauthenticated so it can be shared and rendered in-browser; and (4) an administrator opening the attacker-supplied link (UI:P/UI:R). Limiting factors that reduce real-world risk: the attacker must first obtain even low-privilege credentials, the payload only fires when a privileged admin interacts with the shared link, the impact is bounded to admin JWT theft in the Kalmia origin, and only Kalmia versions through 0.2.0 are affected. |
| Impact | This is a genuine but moderate-priority issue rather than an emergency. The CVSS 4.0 base score is 5.1 (medium), and the vector (AV:N/AC:L/AT:N/PR:L/UI:P) confirms it is network-reachable with low complexity but requires BOTH low-privilege authentication (PR:L - a read-only account) AND victim interaction (UI:P - an administrator must open the attacker-shared link). The vuln.today decision label is 'this_month', not act_now or emergency, which aligns with the medium severity. No EPSS score, no CISA KEV listing, and no confirmed working exploit code are present in the input, so there is no signal of active exploitation or mass automation; SSVC-style exploitation status is therefore best read as 'none/unreported'. The impact is scoped but real: successful exploitation yields administrator JWT theft from localStorage (an auth-bypass/privilege-escalation outcome), which is why confidentiality and integrity register as Low rather than None and a scope/subsequent-system change (SC:L/SI:L) is recorded. Net: a legitimate flaw worth patching on a normal cycle, not a drop-everything event - the dual requirement of a valid account plus admin click-through meaningfully limits real-world weaponization. |
| Exploit ScenarioDerived | An attacker who holds a low-privilege read-only Kalmia account uploads a malicious HTML or SVG file through the upload-file endpoint, which applies no file-type restriction. Because the file get route serves the content unauthenticated, the attacker sends the direct link to an administrator; when the admin opens it, the embedded JavaScript runs in the Kalmia admin origin and exfiltrates the administrator JWT from localStorage. No public working exploit code is identified in the input, though a VulnCheck advisory and a GitHub issue describe the mechanism in detail. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 16, 2026
Kalmia through 0.2.0 allows any read-only authenticated user to upload HTML or SVG files through the upload-file endpoint, which does not restrict content types, and then have that content rendered in a victim's browser through the unauthenticated file get route. An attacker holding even a low-privilege account can share a crafted link and, when an administrator opens it, execute JavaScript in the Kalmia origin and exfiltrate the administrator's JWT from localStorage. Exploitation requires a valid account plus administrator interaction, impact is bounded to the Kalmia origin (about 5.1 severity), no public exploit was identified at time of analysis, and the reported issue is tracked at https://github.com/DifuseHQ/Kalmia/issues/35.
RemediationAI
No vendor-released patch was identified at time of analysis, so confirm the state of https://github.com/DifuseHQ/Kalmia/issues/35 and the VulnCheck advisory before upgrading, and treat any build above 0.2.0 as unverified until a fix is published. Until then, apply compensating controls that directly target the two defects: at a reverse proxy or WAF in front of Kalmia, reject multipart uploads whose filename or content type is HTML or SVG (allow only the image or document types your users actually need, accepting that legitimate SVG uploads will break); force the file get route to return Content-Disposition: attachment together with X-Content-Type-Options: nosniff so uploaded markup downloads instead of rendering in the admin origin; and, where it can be done without breaking sharing workflows, require authentication on the file get route or place it behind the same session gate as the rest of the application. Reducing the impact of token theft requires moving administrator sessions out of localStorage into HttpOnly, SameSite cookies, and adding a Content-Security-Policy that disallows inline and third-party script on responses served from the file route. Finally, because the flaw is reachable by read-only accounts, audit and prune low-privilege Kalmia users so that self-registration or open invitations cannot be used to obtain the account the attack depends on.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Kalmia is a Go web application whose file-handling logic lives in handlers/file.go (lines 19-61 per the referenced commit). The root cause is CWE-434, unrestricted upload of a file with a dangerous type: the upload-file endpoint accepts arbitrary HTML and SVG rather than enforcing an allow-list of safe content types, and the accompanying file get route serves those uploads without authentication. Because uploaded content is returned from the same origin as the admin UI, an HTML or SVG document containing script executes in the application's security context - a stored cross-site scripting condition built on top of the unsafe upload. The CPE cpe:2.3:a:difusehq:kalmia:*:*:*:*:*:*:*:* confirms the affected package is DifuseHQ Kalmia itself, with all versions through 0.2.0 in scope; the extraction of administrator JWTs is possible only because session tokens are kept in browser localStorage and are therefore readable by any script running in that origin. The assessed vector (CVSS 3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) reflects a low-privilege authenticated attacker whose payload only fires after a privileged administrator is induced to open the shared file link.
Know when Kalmia gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Low-privilege account can upload (PR:L) but the admin must open the link (UI:R); stored XSS executing in the admin origin crosses security context (S:C), yielding JWT disclosure and limited integrity (C:L/I:L).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Kalmia CMS version 0.2.0 contains an Incorrect Access Control vulnerability in the /kal-api/auth/users API endpoint. Due
A security vulnerability in its authentication mechanism (CVSS 5.3) that allows unauthenticated attackers. Risk factors:
Improper authorization in the Kalmia API (through version 0.2.0) lets any authenticated user holding only read permissio
Kalmia through 0.2.0 lets unauthenticated remote users read private documentation because RsPressMiddleware accepts any
Kalmia through 0.2.0 can return plaintext Git deployment credentials in documentation API responses to authenticated use
EUVD-2026-126286
GHSA-fh6m-68mq-cr5g
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB