Inconsistent Directive Handling in Go's encoding/xml Package

Inconsistent Directive Handling in Go's encoding/xml Package

CVE-2020-29510 · MEDIUM Severity

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

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.

Learn more about our Web Application Penetration Testing UK.