Cross-site scripting in OneDev - CVE-2022-39207
Published: September 13, 2022 / Updated: May 5, 2026
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.