Improper access control in Discourse - CVE-2022-36068
Published: September 29, 2022 / Updated: July 1, 2026
Vulnerability identifier: #VU136073
CSH Severity: Low
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-36068
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote user to modify themes via the API.
The vulnerability exists due to improper access control in the theme API when handling API requests. A remote privileged user can send crafted API requests to modify themes via the API.
Affected software
Discourse
How to mitigate CVE-2022-36068
Install security update from vendor's website.
Discourse - addressed in versions 2.8.9, 2.9.0 beta10