SB2023072855 - Multiple vulnerabilities in Discourse
Published: July 28, 2023 Updated: July 1, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 4 vulnerabilities.
1) Input validation error (CVE-ID: CVE-2023-36466)
CWE-ID: CWE-20 - Improper input validation
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
The vulnerability allows a remote user to bypass topic title validation checks.
The vulnerability exists due to improper input validation in the topic editing functionality when changing a topic category. A remote user can modify a topic in a way that skips title validation checks to bypass topic title validation checks.
User interaction is required to edit the topic.
2) Use of insufficiently random values (CVE-ID: CVE-2023-36473)
CWE-ID: CWE-330 - Use of Insufficiently Random Values
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
The vulnerability allows a remote user to bypass CSP protection and execute cross-site scripting attacks.
The vulnerability exists due to improper reuse of a CSP nonce in Content Security Policy handling when processing content that relies on the nonce for script authorization. A remote user can leverage a discovered cross-site scripting vector to bypass CSP protection and execute cross-site scripting attacks.
There are no known cross-site scripting vectors at the moment, but any such vector could use this issue to completely bypass CSP.
3) Input validation error (CVE-ID: CVE-2023-36818)
CWE-ID: CWE-20 - Improper input validation
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
The vulnerability allows a remote user to cause a denial of service.
The vulnerability exists due to improper input validation in custom sidebar section creation or update handling when processing requests to create or update custom sidebar sections. A remote user can send a specially crafted request with unlimited link creation to cause a denial of service.
4) Improper access control (CVE-ID: CVE-2023-38685)
CWE-ID: CWE-284 - Improper Access Control
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
The vulnerability allows a remote user to disclose sensitive information.
The vulnerability exists due to improper access control in restricted-visibility topic tags when handling requests for tag information. A remote user can access restricted tag information to disclose sensitive information.
Remediation
Install update from vendor's website.
References
- https://github.com/discourse/discourse/security/advisories/GHSA-4hjh-wg43-p932
- https://github.com/discourse/discourse/security/advisories/GHSA-9f52-624j-8ppq
- https://github.com/discourse/discourse/security/advisories/GHSA-gxqx-3q2p-37gm
- https://github.com/discourse/discourse/security/advisories/GHSA-wx6x-q4gp-mgv5