CVE-2020-29511

Description

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.

Remediation

Workaround:

  • Untrusted markup in affected applications can be validated using the github.com/mattermost/xml-roundtrip-validator module.

Category

9.8
CVSS
Severity: Critical
CVSS 3.1 •
CVSS 2.0 •
EPSS 0.35%
Third-Party Advisory github.com Third-Party Advisory netapp.com
Affected: Golang Go
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2020-29511?
CVE-2020-29511 has been scored as a critical severity vulnerability.
How to fix CVE-2020-29511?
As a workaround for remediating CVE-2020-29511: Untrusted markup in affected applications can be validated using the github.com/mattermost/xml-roundtrip-validator module.
Is CVE-2020-29511 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2020-29511 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2020-29511?
CVE-2020-29511 affects Golang Go.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.