CVE-2023-26040

Source
https://cve.org/CVERecord?id=CVE-2023-26040
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-26040.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-26040
Aliases
Published
2023-03-17T14:45:35.889Z
Modified
2026-07-15T01:49:20.131914262Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L CVSS Calculator
Summary
Discourse chat messages susceptible to Cross-site Scripting through chat excerpts
Details

Discourse is an open-source discussion platform. Between versions 3.1.0.beta2 and 3.1.0.beta3 of the tests-passed branch, editing or responding to a chat message containing malicious content could lead to a cross-site scripting attack. This issue is patched in version 3.1.0.beta3 of the tests-passed branch. There are no known workarounds.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-79"
    ],
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "introduced": "tests-passed > 3.1.0.beta2, < 3.1.0.beta3"
                },
                {
                    "last_affected": "tests-passed > 3.1.0.beta2, < 3.1.0.beta3"
                }
            ]
        }
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26040.json"
}
References

Affected packages

Git / github.com/discourse/discourse

Affected ranges

Type
GIT
Repo
https://github.com/discourse/discourse
Events
Database specific
{
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:discourse:discourse:3.1.0:beta2:*:*:beta:*:*:*",
    "extracted_events": [
        {
            "introduced": "3.1.0-beta2"
        },
        {
            "last_affected": "3.1.0-beta2"
        }
    ]
}

Affected versions

3.*
3.1.0-beta2
v3.*
v3.1.0.beta2

Database specific

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