---
id: CVE-2020-15216
aliases:
  - GHSA-q547-gmf8-8jr7
  - GO-2020-0050
title: github.com/russellhaering/goxmldsig vulnerable to Signature Validation Bypass
summary: github.com/russellhaering/goxmldsig vulnerable to Signature Validation Bypass
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N'
vendor: russellhaering
product: github.com/russellhaering/goxmldsig
ecosystem: go
affected:
  - github.com/russellhaering/goxmldsig < 1.1.0
patched:
  - github.com/russellhaering/goxmldsig 1.1.0
published: '2021-05-24'
updated: '2026-07-08'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-q547-gmf8-8jr7'
references:
  - url: >-
      https://github.com/russellhaering/goxmldsig/security/advisories/GHSA-q547-gmf8-8jr7
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2020-15216'
  - url: >-
      https://github.com/russellhaering/goxmldsig/commit/f6188febf0c29d7ffe26a0436212b19cb9615e64
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GUH33FPUXED3FHYL25BJOQPRKFGPOMS2
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZECBFD4M4PHBMBOCMSQ537NOU37QOVWP
  - url: 'https://pkg.go.dev/github.com/russellhaering/goxmldsig?tab=overview'
  - url: 'https://pkg.go.dev/vuln/GO-2020-0050'
tags:
  - osv
  - go
epss: 0.00898
epssPercentile: 0.58112
ingestedAt: '2026-07-09T18:56:36.686Z'
---

## Overview

### Impact
With a carefully crafted XML file, an attacker can completely bypass signature validation and pass off an altered file as a signed one. 

### Patches
A patch is available, all users of goxmldsig should upgrade to v1.1.0.

### For more information
If you have any questions or comments about this advisory open an issue at https://github.com/russellhaering/goxmldsig

## Affected packages

- `github.com/russellhaering/goxmldsig < 1.1.0`

## Remediation

Upgrade to a patched release:

- `github.com/russellhaering/goxmldsig 1.1.0`
