Vulnerability · Published Apr 2, 2024 · Assigned by Temporal
CVE-2024-2435Stored XSS in Timeline View
Medium 4.3
In plain English
A medium-severity cross-site scripting in ui-server from Temporal OSS. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 34% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
For an attacker with pre-existing access to send a signal to a workflow, the attacker can make the signal name a script that executes when a victim views that signal. The XSS is in the timeline page displaying the workflow execution details of the workflow that was sent the crafted signal. Access to send a signal to a workflow is determined by how you configured the authorizer on your server. This includes any entity with permission to directly call SignalWorkflowExecution or SignalWithStartWorkflowExecution, or any entity can deploy a worker that has access to call workflow progress APIs (specifically RespondWorkflowTaskCompleted).
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/temporalio/ui-server | no fix listed | GO-2024-2675 |
| Go | github.com/temporalio/ui-server/v2 | 2.25.0 | GO-2024-2675 |
| Go | github.com/temporalio/ui-server/v2 | 2.25.0 | GHSA-8f25-w7qj-r7hc |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Temporal OSS | ui-server | 2.16.2 – before 2.25.0 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:L