CVE-2020-29510
published critical CVSS 3.1 · 9.8go: encoding/xml: XML directives instability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Golang | — | Gounspecified through 1.15 | Affected | Not stated | Mattermost |
Description
The encoding/xml package in Go versions 1.15 and earlier does not correctly preserve the semantics of directives during tokenization round-trips, which allows an attacker to craft inputs that behave in conflicting ways during different stages of processing in affected downstream applications.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- Mattermost · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Golang | Go | unspecified through 1.15 (affected · custom) | Mattermost · cna |
Weaknesses
1- CWE-115 CWE-115 Misinterpretation of Input
References
2Provider assertions
2Mattermost · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f6d8a3f65bf1693cb88d557ea4727395f330b1f04df506f16a3b6e5c84e55af2
- Ingested
- 23 Sep 2026, 07:50:07 UTC
- Source record
- Official CVE record