CVE-2026-53962

Source
https://cve.org/CVERecord?id=CVE-2026-53962
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53962.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-53962
Aliases
Published
2026-07-09T22:02:27Z
Modified
2026-10-28T02:30:33Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Discourse: Insufficient SVG sanitization logic
Details

Discourse is an open-source discussion platform. Prior to 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5, insufficient SVG sanitization in upload and user avatar handling could lead to cross-site scripting when a user visited specific URLs that are not normally part of community browsing. This issue is fixed in versions 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53962.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": [
        {
            "cpe": "cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "2026.1.0"
                },
                {
                    "fixed": "2026.1.5"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "cpe": "cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "2026.4.0"
                },
                {
                    "fixed": "2026.4.2"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "cpe": "cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "2026.5.0"
                },
                {
                    "fixed": "2026.5.1"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "cpe": "cpe:2.3:a:discourse:discourse:2026.6.0:*:*:*:latest:*:*:*",
            "range": [
                {
                    "introduced": "2026.6.0"
                },
                {
                    "last_affected": "2026.6.0"
                }
            ],
            "source": "CPE_STRING"
        },
        {
            "range": [
                {
                    "fixed": "3ee8343cd7f00d59d8513bee0a12e02d50bfc358"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "range": [
                {
                    "fixed": "810c2715799fd08b06fd6ffc664d9562fe9ea6ff"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "range": [
                {
                    "fixed": "92a699d89b84685b6fdd63cd0d0e371793c69dad"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "range": [
                {
                    "fixed": "b8ceb49f4ba52257be30eb3c2ce51a5bf03be5fe"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "original_tag": "v2026.1.5",
            "range": [
                {
                    "fixed": "c06899647d758493d95a5b301e573ffa3db1e878"
                }
            ],
            "source": "REFERENCES_TAG"
        },
        {
            "original_tag": "v2026.4.2",
            "range": [
                {
                    "fixed": "4bbdddfc6700ca23604242111d4fa0e00347af97"
                }
            ],
            "source": "REFERENCES_TAG"
        },
        {
            "original_tag": "v2026.5.1",
            "range": [
                {
                    "fixed": "598586ccf2e046a25d4b54132e4e1feb47f24e98"
                }
            ],
            "source": "REFERENCES_TAG"
        },
        {
            "original_tag": "v2026.6.0",
            "range": [
                {
                    "fixed": "06d03da34c4ed09ea59f917f045ba250d2b6320d"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}

Affected versions

2026.*
2026.6.0
Other
esr
stable
v2026.*
v2026.1.0
v2026.1.0-latest
v2026.1.1
v2026.1.2
v2026.1.3
v2026.1.4
v2026.4.0
v2026.4.0-latest
v2026.4.1
v2026.5.0
v2026.5.0-latest
v2026.5.0-latest.1

Database specific

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