Cross-site scripting in OneDev - CVE-2022-39207

 

Cross-site scripting in OneDev - CVE-2022-39207

Published: September 13, 2022 / Updated: May 5, 2026


Vulnerability identifier: #VU129803
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Clear
CVE-ID: CVE-2022-39207
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: OneDev
Affected software:
OneDev

Detailed vulnerability description

The vulnerability allows a remote user to execute arbitrary code.

The vulnerability exists due to cross-site scripting in build artifact handling in the web UI when serving attacker-controlled HTML artifact files. A remote user can upload or modify a crafted artifact and trick the victim into opening a link to execute arbitrary code.

Exploitation requires the ability to modify artifact content, typically by modifying a project's build spec, and user interaction is required to open the crafted link.


How to mitigate CVE-2022-39207

Install security update from vendor's website.

Sources