{"id":"BIT-discourse-2022-36068","summary":"Discourse moderators can edit themes via the API","details":"Discourse is an open source discussion platform. In versions prior to 2.8.9 on the `stable` branch and prior to 2.9.0.beta10 on the `beta` and `tests-passed` branches, a moderator can create new and edit existing themes by using the API when they should not be able to do so. The problem is patched in version 2.8.9 on the `stable` branch and version 2.9.0.beta10 on the `beta` and `tests-passed` branches. There are no known workarounds.","aliases":["CVE-2022-36068","GHSA-6crr-3662-263q"],"modified":"2025-10-08T05:27:19.242709Z","published":"2024-03-06T11:04:46.895Z","database_specific":{"cpes":["cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*"],"severity":"Medium"},"references":[{"type":"WEB","url":"https://github.com/discourse/discourse/commit/ae1e536e83940d58f1c79b835c75c249121c46b6"},{"type":"WEB","url":"https://github.com/discourse/discourse/pull/18418"},{"type":"WEB","url":"https://github.com/discourse/discourse/security/advisories/GHSA-6crr-3662-263q"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36068"}],"affected":[{"package":{"name":"discourse","ecosystem":"Bitnami","purl":"pkg:bitnami/discourse"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.8.9"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/discourse/BIT-discourse-2022-36068.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"}]}],"schema_version":"1.7.3"}