# CVE-2023-31142: Discourse's general category permissions could be set back to default

- Severity: Low 2.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2023-06-13T21:12:47.664Z
- Modified: 2026-09-08T08:46:11.504Z
- Also known as: BIT-DISCOURSE-2023-31142, GHSA-286w-97m2-78x2
- Weaknesses: CWE-732
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- discourse discourse: < 3.0.4; >= 3.1.0.beta1, < 3.1.0.beta5; before 3.0.4; 3.1.0
- discourse (Bitnami): before 3.0.4

## Every score

- GitHub_M: CVSS:3.1 2.0 Low `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/discourse/discourse/security/advisories/GHSA-286w-97m2-78x2> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-31142> (web)

## Sources

- CVE List: [CVE-2023-31142](https://www.cve.org/CVERecord?id=CVE-2023-31142), CVE Terms of Use, modified 2025-01-02
- NVD: [CVE-2023-31142](https://nvd.nist.gov/vuln/detail/CVE-2023-31142), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-DISCOURSE-2023-31142](https://osv.dev/vulnerability/BIT-DISCOURSE-2023-31142), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-31142 · Whole record: https://cve.day/CVE-2023-31142.json · Rebuilt by cve.day 2026-11-25T22:58:24.794Z
