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.

Severity (CVSS 3.1)4.3Medium
Exploit odds (30 days)0.4%top 66.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Gogithub.com/temporalio/ui-serverno fix listedGO-2024-2675
Gogithub.com/temporalio/ui-server/v22.25.0GO-2024-2675
Gogithub.com/temporalio/ui-server/v22.25.0GHSA-8f25-w7qj-r7hc

Affected products (as reported)

VendorProductVersions
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

References