CVE-2022-39232

Source
https://cve.org/CVERecord?id=CVE-2022-39232
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-39232.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-39232
Aliases
Published
2022-09-29T20:15:14Z
Modified
2026-10-28T02:30:47Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Discourse vulnerable to incomplete quote causing a topic to crash in the browser
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-20"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39232.json"
}
References

Affected packages

Git / github.com/discourse/discourse

Affected ranges

Type
GIT
Repo
https://github.com/discourse/discourse
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "2.9.0.beta5"
                },
                {
                    "fixed":  "2.9.0.beta10"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "eab33af5bf19827527fe79134d865b5c727f6530"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

2.*
2.9.0-beta5
2.9.0-beta6
2.9.0-beta7
2.9.0-beta8
2.9.0-beta9
v2.*
v2.9.0.beta5
v2.9.0.beta6
v2.9.0.beta7
v2.9.0.beta8
v2.9.0.beta9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-39232.json"