CVE-2020-15216
Signature Validation Bypass in goxmldsig
In goxmldsig (XML Digital Signatures implemented in pure Go) before version 1.1.0, with a carefully crafted XML file, an attacker can completely bypass signature validation and pass off an altered file as a signed one. A patch is available, all users of goxmldsig should upgrade to at least revision f6188febf0c29d7ffe26a0436212b19cb9615e64 or version 1.1.0
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
5.3
Signature Validation Bypass in goxmldsig
In goxmldsig (XML Digital Signatures implemented in pure Go) before version 1.1.0, with a carefully crafted XML file, an attacker can completely bypass signature validation and pass off an altered file as a signed one. A patch is available, all users of goxmldsig should upgrade to at least revision f6188febf0c29d7ffe26a0436212b19cb9615e64 or version 1.1.0
- Record
CVE-2020-15216- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N - Weakness
- CWE-347
- Updated
- 2026-11-02
EUVDEUVD-2021-1160
5.3
In goxmldsig (XML Digital Signatures implemented in pure Go) before version 1.1.0, with a carefully crafted XML file, an attacker can completely bypass signature validation and pass off an altered file as a signed one. A patch is available, all users of goxmldsig should upgrade to at least revision f6188febf0c29d7ffe26a0436212b19cb9615e64 or version 1.1.0
- Record
EUVD-2021-1160- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-q547-gmf8-8jr7
5.3
github.com/russellhaering/goxmldsig vulnerable to Signature Validation Bypass
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
- Record
GHSA-q547-gmf8-8jr7- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N - Weakness
- CWE-347
- Updated
- 2026-11-02
NVD
5.3
In goxmldsig (XML Digital Signatures implemented in pure Go) before version 1.1.0, with a carefully crafted XML file, an attacker can completely bypass signature validation and pass off an altered file as a signed one. A patch is available, all users of goxmldsig should upgrade to at least revision f6188febf0c29d7ffe26a0436212b19cb9615e64 or version 1.1.0
- Record
CVE-2020-15216- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N - CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:N - Weakness
- CWE-347
- Updated
- 2026-11-02
OSV
6.5
In goxmldsig (XML Digital Signatures implemented in pure Go) before version 1.1.0, with a carefully crafted XML file, an attacker can completely bypass signature validation and pass off an altered file as a signed one. A patch is available, all users of goxmldsig should upgrade to at least revision f6188febf0c29d7ffe26a0436212b19cb9615e64 or version 1.1.0
- Record
CVE-2020-15216- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2020-15216
6.5
In goxmldsig (XML Digital Signatures implemented in pure Go) before version 1.1.0, with a carefully crafted XML file, an attacker can completely bypass signature validation and pass off an altered file as a signed one. A patch is available, all users of goxmldsig should upgrade to at least revision f6188febf0c29d7ffe26a0436212b19cb9615e64 or version 1.1.0
- Record
DEBIAN-CVE-2020-15216- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVGHSA-q547-gmf8-8jr7
5.3
github.com/russellhaering/goxmldsig vulnerable to Signature Validation Bypass
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
- Record
GHSA-q547-gmf8-8jr7- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N - Weakness
- CWE-347
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-15216
5.3
In goxmldsig (XML Digital Signatures implemented in pure Go) before version 1.1.0, with a carefully crafted XML file, an attacker can completely bypass signature validation and pass off an altered file as a signed one. A patch is available, all users of goxmldsig should upgrade to at least revision f6188febf0c29d7ffe26a0436212b19cb9615e64 or version 1.1.0
- Record
UBUNTU-CVE-2020-15216- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N - CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVGO-2020-0050 No score
XML digital signature validation bypass in github.com/russellhaering/goxmldsig
Due to the behavior of encoding/xml, a crafted XML document may cause XML Digital Signature validation to be entirely bypassed, causing an unsigned document to appear signed.
- Record
GO-2020-0050- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/russellhaering/goxmldsigGo |
before 1.1.0 | 1.1.0 |
golang-github-russellhaering-goxmldsigDebian:12 |
before 1.1.0-1 | 1.1.0-1 |
golang-github-russellhaering-goxmldsigUbuntu:18.04:LTS |
All versions, plus listed versions 0.0~git20170911.b7efc62-1 |
None known |
golang-github-russellhaering-goxmldsigUbuntu:20.04:LTS |
All versions, plus listed versions 0.0~git20170911.b7efc62-10.0~git20180430.7acd5e4-1 |
None known |
golang-github-russellhaering-goxmldsigUbuntu:22.04:LTS |
All versions, plus listed versions 1.1.0-11.1.1-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-15216 is a medium vulnerability (CVSS 5.3) in Goxmldsig Project Goxmldsig, published September 29, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.90%, the 59th percentile. Fixed in github.com/russellhaering/goxmldsig 1.1.0.
References
github.com/russellhaering/goxmldsig/security/advisories/GHSA-q547-gmf8-8jr7
github.com/russellhaering/goxmldsig/commit/f6188febf0c29d7ffe26a0436212b19cb9615e64
pkg.go.dev/github.com/russellhaering/goxmldsig?tab=overview
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZECBFD4M4PHBMBOCMSQ537NOU37QOVWP
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GUH33FPUXED3FHYL25BJOQPRKFGPOMS2
nvd.nist.gov/vuln/detail/CVE-2020-15216
Show 7 moreShow less
lists.fedoraproject.org/archives/list/[email protected]/message/GUH33FPUXED3FHYL25BJOQPRKFGPOMS2
lists.fedoraproject.org/archives/list/[email protected]/message/ZECBFD4M4PHBMBOCMSQ537NOU37QOVWP
pkg.go.dev/vuln/GO-2020-0050
github.com/advisories/GHSA-q547-gmf8-8jr7
security-tracker.debian.org/tracker/CVE-2020-15216
ubuntu.com/security/CVE-2020-15216
cve.org/CVERecord?id=CVE-2020-15216