# CVE-2020-15216: GO-2020-0050 - XML digital signature validation bypass in github.com/russellhaering/goxmldsig

Source: https://junglewise.ai/threats/cve-2020-15216-github-com-russellhaering-goxmldsig-vulnerable-to-signature  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-04-14  
License: CC BY 4.0 with a link back

CVE-2020-15216 · Severity: low · CVSS 3.1 · Published 2021-04-14

XML digital signature validation bypass in github.com/russellhaering/goxmldsig

Technologies: [github.com/russellhaering/goxmldsig (Go)](https://junglewise.ai/threats/technologies/github-com-russellhaering-goxmldsig). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2020-15216 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-15216 being exploited in the wild.

**How severe is CVE-2020-15216?** Low severity, with a CVSS score of 3.1, published 14 April 2021.

**Which products and versions are affected?** github.com/russellhaering/goxmldsig (Go) SEMVER:introduced=0,fixed=1.1.0.

**Is there a fix for CVE-2020-15216?** Yes. github.com/russellhaering/goxmldsig (Go): upgrade to 1.1.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2020-15216?** Check whether you run github.com/russellhaering/goxmldsig (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/russellhaering/goxmldsig (Go): upgrade to 1.1.0 or later

  ```sh
  go get github.com/russellhaering/goxmldsig@v1.1.0
  ```


## Affected products

- github.com/russellhaering/goxmldsig (Go) SEMVER:introduced=0,fixed=1.1.0

## Identifiers

- CVE-2020-15216
- GHSA-q547-gmf8-8jr7
- GO-2020-0050

## Related threats

- [russellhaering goxmldsig signature bypass in validateSignature](https://junglewise.ai/threats/cve-2026-33487-russellhaering-goxmldsig-signature-bypass-in-validatesignature)
- [GO-2022-0409 - An attacker can create an XML file which completely bypasses signature validation,
passing off an altered file as a signed one.](https://junglewise.ai/threats/go-2022-0409-an-attacker-can-create-an-xml-file-which-completely-deacdc21)
- [Critical security issues in XML encoding in github.com/dexidp/dex](https://junglewise.ai/threats/cve-2020-26290-authentication-bypass-in-dex)
- [Signature Validation Bypass](https://junglewise.ai/threats/signature-validation-bypass-db60d372)
- [GO-2020-0046 - Panic due to malformed XML digital signature in github.com/russellhaering/goxmldsig](https://junglewise.ai/threats/cve-2020-7711-duplicate-advisory-gosaml2-is-vulnerable-to-null-pointer)
