CVE-2023-22468

Source
https://cve.org/CVERecord?id=CVE-2023-22468
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-22468.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-22468
Aliases
Published
2023-01-26T08:31:00Z
Modified
2026-09-29T11:46:50Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Discourse vulnerable to Cross-site Scripting in local oneboxes
Details

Discourse is an open source platform for community discussion. Versions prior to 2.8.13 (stable), 3.0.0.beta16 (beta) and 3.0.0beta16 (tests-passed), are vulnerable to cross-site Scripting. A maliciously crafted URL can be included in a post to carry out cross-site scripting attacks on sites with disabled or overly permissive CSP (Content Security Policy). Discourse's default CSP prevents this vulnerability. This vulnerability is patched in versions 2.8.13 (stable), 3.0.0.beta16 (beta) and 3.0.0beta16 (tests-passed). As a workaround, enable and/or restore your site's CSP to the default one provided with Discourse.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-79"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22468.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":  [
        {
            "introduced":  "stable < 2.8.14"
        },
        {
            "last_affected":  "stable < 2.8.14"
        },
        {
            "introduced":  "beta < 3.0.0.beta16"
        },
        {
            "last_affected":  "beta < 3.0.0.beta16"
        },
        {
            "introduced":  "tests-passed < 3.0.0.beta16"
        },
        {
            "last_affected":  "tests-passed < 3.0.0.beta16"
        }
    ],
    "source":  "AFFECTED_FIELD"
}

Affected versions

beta < 3.*
beta < 3.0.0.beta16
stable < 2.*
stable < 2.8.14

Database specific

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