{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-21247","published":"2021-01-15T21:15:13.583000Z","last_modified":"2026-06-17T03:35:07.370000Z","status":"Modified","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-74","CWE-502"],"cpes":[{"criteria":"cpe:2.3:a:onedev_project:onedev:*:*:*:*:*:*:*:*","part":"a","vendor":"onedev_project","product":"onedev","version_end_excluding":"4.0.3"}],"cpes_truncated":false,"vendors":["onedev_project"],"products":["onedev_project/onedev"],"epss":{"score":0.01521,"percentile":0.74924,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":53,"links":{"html_es":"/es/cve/CVE-2021-21247/","html_en":"/en/cve/CVE-2021-21247/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-21247","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-21247"},"untrusted":{"vendor_name":"Onedev Project","product_name":"Onedev","desc_en":"OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, the application's BasePage registers an AJAX event listener (`AbstractPostAjaxBehavior`) in all pages other than the login page. This listener decodes and deserializes the `data` query parameter. We can access this listener by submitting a POST request to any page. This issue may lead to `post-auth RCE` This endpoint is subject to authentication and, therefore, requires a valid user to carry on the attack. This issue was addressed in 4.0.3 by encrypting serialization payload with secrets only known to server.","affected":[{"untrusted_vendor":"theonedev","untrusted_product":"onedev","versions":[]}],"references":[{"url":"https://github.com/theonedev/onedev/security/advisories/GHSA-6pxf-75cf-vwjp","tags":["Third Party Advisory"]}]}}