GHSA-8f25-w7qj-r7hc
Temporal UI Server cross-site scripting vulnerability
Quick fix
GHSA-8f25-w7qj-r7hc — github.com/temporalio/ui-server/v2: upgrade to the fixed version with the command below.
go get github.com/temporalio/ui-server/v2@v2.25.0Details
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).
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 2.25.0go get github.com/temporalio/ui-server/v2@v2.25.0