# CVE-2020-29511: The encoding/xml package in Go (all versions) does not correctly preserve the semantics of element namespace prefixes during tokenization r…

- Severity: Critical 9.8 (CVSS:3.1, scored by Mattermost) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.97%, higher than 80% of CVEs (2026-12-01)
- Published: 2020-12-14T19:59:50.700Z
- Modified: 2026-09-10T16:00:35.356Z
- Also known as: BIT-GOLANG-2020-29511
- Weaknesses: CWE-115
- Assigned by: Mattermost

## 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.

(As written by CVE List.)

## Affected

- Golang Go: All versions; before 1.17
- netapp trident: no versions given
- golang (Bitnami): before 1.17.0

## Every score

- Mattermost: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.6 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://github.com/mattermost/xml-roundtrip-validator/blob/master/advisories/unstable-elements.md> (advisory, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210129-0006/> (advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-29511> (web)

## Sources

- CVE List: [CVE-2020-29511](https://www.cve.org/CVERecord?id=CVE-2020-29511), CVE Terms of Use, modified 2024-09-17
- NVD: [CVE-2020-29511](https://nvd.nist.gov/vuln/detail/CVE-2020-29511), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GOLANG-2020-29511](https://osv.dev/vulnerability/BIT-GOLANG-2020-29511), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2020-29511 · Whole record: https://cve.day/CVE-2020-29511.json · Rebuilt by cve.day 2026-11-25T22:57:56.220Z
