Deserialization of Untrusted Data in OneDev - CVE-2021-21247
Published: January 12, 2021 / Updated: May 5, 2026
OneDev
OneDev
Description
The vulnerability allows a remote user to execute arbitrary code.
The vulnerability exists due to unsafe deserialization in BasePage AJAX event listener (AbstractPostAjaxBehavior) when processing a POST request containing a serialized data parameter. A remote user can send a specially crafted POST request with a malicious serialized payload to execute arbitrary code.
The vulnerable listener is registered on all pages other than the login page, and exploitation requires a valid authenticated session.