Low
HTML injection via channel autocomplete
Type: advisorySources: OSV
Mattermost fails to use innerText / textContent when setting the channel name in the webapp during autocomplete, allowing an attacker to inject HTML to a victim's page by create a channel name that is valid HTML. No XSS is possible though.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-35075
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 01:45 UTC · Revision 1
Source evidence
Mattermost fails to use innerText / textContent when setting the channel name in the webapp during autocomplete, allowing an attacker to inject HTML to a victim's page by create a channel name that is valid HTML. No XSS is possible though.
osv:CVE-2023-35075
Complete source record
{
"id": "edcb5a7ea5a13a512c287393788da774ba544fb4a0324753e9182c17dd40e113",
"url": "https://osv.dev/vulnerability/CVE-2023-35075",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "HTML injection via channel autocomplete",
"summary": "Mattermost fails to use innerText / textContent when setting the channel name in the webapp during autocomplete, allowing an attacker to inject HTML to a victim's page by create a channel name that is valid HTML. No XSS is possible though.",
"evidence": "osv:CVE-2023-35075",
"products": [],
"severity": "low",
"structured": {
"id": "CVE-2023-35075",
"aliases": [
"CVE-2023-35075",
"GHSA-jcgv-3pfq-j4hr"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mattermost/mattermost",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "b69ff7d1038609a4a29a7db104679d21da10ad09"
},
{
"introduced": "90f502dc2dc80ee25cfb7d7bc3e743b53564a5a7"
},
{
"last_affected": "4fe1024a51f22f239c19c33838dbdcf7589b7b94"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "7.8.12"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "8.0.0"
},
{
"last_affected": "8.1.3"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v8.1.3-rc2",
"v8.1.3",
"v7.8.12-rc2",
"v7.8.12",
"v7.8.12-rc1",
"v8.1.3-rc1",
"v8.1.2-rc2",
"v8.1.2",
"v7.8.11-rc1",
"v7.8.11",
"v8.1.2-rc1",
"v7.8.10-rc5",
"v7.8.10",
"v8.1.1-rc2",
"v8.1.1",
"@mattermost/types@8.1.1",
"@mattermost/client@8.1.1",
"v7.8.10-rc4",
"v8.1.1-rc1",
"v7.8.10-rc3",
"v8.1.0-rc2",
"v8.1.0",
"cloud-2023-07-26-1",
"v7.8.9",
"v7.8.8",
"server/public/v0.0.5",
"v7.8.7",
"v7.8.6",
"v7.8.5",
"v7.8.4",
"v7.8.3",
"v7.8.2",
"v7.8.1",
"v7.8.0",
"cloud-2023-01-26-1",
"cloud-2022-11-24-1",
"cloud-2022-11-11-1",
"cloud-2022-10-06-1",
"cloud-2022-09-08-1",
"cloud-2022-08-10-1",
"cloud-2022-07-20-1",
"v5.2.0-rc2",
"v5.2.0-rc1",
"v5.1.0-rc1",
"v5.0.0-rc1",
"v4.10.0-rc1",
"v4.9.0-rc1",
"v4.8.0-rc1",
"v4.7.0-rc1",
"v4.6.0-rc2",
"v4.6.0-rc1",
"v4.5.0-rc1",
"v4.4.0-rc1",
"v4.3.0-rc1",
"v4.2.0-rc1",
"v0.5.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-35075.json"
}
}
],
"modified": "2026-10-28T02:30:41.424392478Z",
"provider": "osv",
"references": [
"https://mattermost.com/security-updates",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/35xxx/CVE-2023-35075.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-35075"
],
"provider_metadata": {
"cwe_ids": [
"CWE-74"
],
"cna_assigner": "Mattermost",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"last_affected": "8.1.3"
},
{
"last_affected": "7.8.12"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/35xxx/CVE-2023-35075.json"
}
},
"related_cves": [
{
"value": "CVE-2023-35075",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 509187,
"published_at": "2023-11-27T09:09:19.659+00:00"
}