CVE-2020-29511: The encoding/xml package in Go (all versions) does not correctly preserve the semantics of element namespace p
CVE-2020-29511 is a critical-severity flaw (CVSS 9.8) affecting go, trident. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The encoding/xml package in Go (all versions) does not correctly preserve the semantics of element namespace prefixes 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.
Why this priority
- Critical severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 2.0% (top 20%) |
| CISA exploited list | No |
| Weakness | CWE-115 |
| Published | 2020-12-14 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2020-29511?
go: upgrade to 1.17; trident: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2020-29511 being exploited?
CVE-2020-29511 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2020-29511 affect?
CVE-2020-29511 affects go, trident. Severity is critical (CVSS 9.8). The encoding/xml package in Go (all versions) does not correctly preserve the semantics of element namespace prefixes during tokenization round-trips, which allows an attacker to craft inputs that behave in conflicting ways during different
How urgent is CVE-2020-29511?
Priority 59/100. Critical severity; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-33814 HIGH 7.5 UPGRADE UPGRADE When processing HTTP/2 SETTINGS frames, transport will enter an infinite loop of writing CONTINUATION frames i
- CVE-2026-39836 HIGH 7.5 UPGRADE The Dial and LookupPort functions panic on Windows when provided with an input containing a NUL (0).
- CVE-2026-39825 MEDIUM 5.3 UPGRADE ReverseProxy can forward queries containing parameters not visible to Rewrite functions
- CVE-2026-39826 MEDIUM 6.1 UPGRADE If a trusted template author were to write a <script> tag containing an empty 'type' attribute or a 'type' att
- CVE-2026-39823 MEDIUM 6.1 UPGRADE CVE-2026-27142 fixed a vulnerability in which URLs were not correctly escaped inside of a <meta> tag's <conten