Medium severity · published Sep 29, 2022
CVE-2022-39232
Discourse vulnerable to incomplete quote causing a topic to crash in the browser
4.3
CVSS
1.2%
EPSS
No
On KEV
Description
Discourse is an open source discussion platform. Starting with version 2.9.0.beta5 and prior to version 2.9.0.beta10, an incomplete quote can generate a JavaScript error which will crash the current page in the browser in some cases. Version 2.9.0.beta10 added a fix and tests to ensure incomplete quotes won't break the app. As a workaround, the quote can be fixed via the rails console.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.2% · higher than 69% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DI
discourse · discourse
>= 2.9.0.beta5, < 2.9.0.beta10 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-39232
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-39232
Patch
https://github.com/discourse/discourse/commit/eab33af5bf19827527fe79134d865b5c727f6530
Patch
https://github.com/discourse/discourse/pull/18311
Third Party Advisory
https://github.com/discourse/discourse/security/advisories/GHSA-cv64-v73f-7wq5
More from discourse
9.9
CVE-2025-68662
FinalDestination hostname matching allows SSRF protection bypass
9.8
CVE-2025-53102
Discourse's WebAuthn challenge isn't cleared from user session after authentication
9.8
CVE-2025-48877
Discourse vulnerable to auto-executing of third-party code in embedded CodePen iframe
9.8
CVE-2023-47121
Discourse is an open source platform for community discussion
9.8
CVE-2021-41163
Discourse is an open source platform for community discussion
