Skip to content
OpenAdvisories
Medium · 4.3 CVE-2024-2435 EUVD-2024-1157GHSA-8f25-w7qj-r7hcGO-2024-2675

Stored XSS in Timeline View

Published Apr 2, 2024 · Updated Aug 1, 2024 · Assigned by Temporal

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 products

VendorProductAffectedFixed
Temporal OSS ui-server 2.16.2 – < 2.25.0 2.25.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling temporal +1 0.11.0-r4 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/temporalio/ui-server all versions — GO-2024-2675
Go github.com/temporalio/ui-server/v2 < 2.25.0 2.25.0 GHSA-8f25-w7qj-r7hc

References