{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-31142","published":"2023-06-13T22:15:09.380000Z","last_modified":"2026-06-17T05:56:22.230000Z","status":"Modified","cvss":{"version":"3.1","score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-732"],"cpes":[{"criteria":"cpe:2.3:a:discourse:discourse:*:*:*:*:stable:*:*:*","part":"a","vendor":"discourse","product":"discourse","version_end_excluding":"3.0.4"},{"criteria":"cpe:2.3:a:discourse:discourse:3.1.0:beta1:*:*:beta:*:*:*","part":"a","vendor":"discourse","product":"discourse","version":"3.1.0"},{"criteria":"cpe:2.3:a:discourse:discourse:3.1.0:beta2:*:*:beta:*:*:*","part":"a","vendor":"discourse","product":"discourse","version":"3.1.0"},{"criteria":"cpe:2.3:a:discourse:discourse:3.1.0:beta3:*:*:beta:*:*:*","part":"a","vendor":"discourse","product":"discourse","version":"3.1.0"},{"criteria":"cpe:2.3:a:discourse:discourse:3.1.0:beta4:*:*:beta:*:*:*","part":"a","vendor":"discourse","product":"discourse","version":"3.1.0"}],"cpes_truncated":false,"vendors":["discourse"],"products":["discourse/discourse"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00396,"percentile":0.25377,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":47,"links":{"html_es":"/es/cve/CVE-2023-31142/","html_en":"/en/cve/CVE-2023-31142/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-31142","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-31142"},"untrusted":{"vendor_name":"Discourse","product_name":"Discourse","desc_en":"Discourse is an open source discussion platform. Prior to version 3.0.4 of the `stable` branch and version 3.1.0.beta5 of the `beta` and `tests-passed` branches, if a site has modified their general category permissions, they could be set back to the default. This issue is patched in version 3.0.4 of the `stable` branch and version 3.1.0.beta5 of the `beta` and `tests-passed` branches. A workaround, only if you are modifying the general category permissions, is to use a new category for the same purpose.","affected":[{"untrusted_vendor":"discourse","untrusted_product":"discourse","versions":[]}],"references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-286w-97m2-78x2","tags":["Vendor Advisory"]}]}}