ByteDance Deer-Flow Stored Cross-Site Scripting Vulnerability in Artifacts API

Vulnerability

A stored cross-site scripting vulnerability has been identified in ByteDance Deer-Flow versions prior to commit 5dbb362. This vulnerability resides in the artifacts API, where attackers can execute arbitrary scripts by uploading malicious HTML or script content as artifacts. The uploaded content is executed in the context of the user's browser when artifacts are viewed, potentially leading to session compromise, credential theft, and unauthorized script execution.

Impact

Exploitation of this vulnerability allows for stored cross-site scripting, where injected scripts are executed in the context of the user viewing the artifacts, according to VulnCheck.

Reproduction

To reproduce this vulnerability, upload a file containing malicious HTML or script content as an artifact. Once the file is uploaded, it will be executed in the browser context when the artifact is viewed. This can be done by using the artifacts API to upload the file, ensuring that the content includes the desired script or HTML payload. After uploading, access the artifact through the API, which will trigger the execution of the embedded script or HTML.

Remediation

Users are advised to update to the latest version of ByteDance Deer-Flow, as the vulnerability has been addressed in commit 5dbb362.

Added: Mar 27, 2026, 2:19 PM
Updated: Mar 27, 2026, 2:19 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
4.2
exploitability
6.0
remediation
0.0
relevance
4.8
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.