# GO-2022-0409 - An attacker can create an XML file which completely bypasses signature validation, passing off an altered file as a signed one.

Source: https://junglewise.ai/threats/go-2022-0409-an-attacker-can-create-an-xml-file-which-completely-deacdc21  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-07-01  
License: CC BY 4.0 with a link back

Severity: info · Published 2022-07-01

An attacker can create an XML file which completely bypasses signature validation,
passing off an altered file as a signed one.

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 This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 1 July 2022.

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

**Is there a fix for This vulnerability?** 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?** 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

## Related threats

- [russellhaering goxmldsig signature bypass in validateSignature](https://junglewise.ai/threats/cve-2026-33487-russellhaering-goxmldsig-signature-bypass-in-validatesignature)
- [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)
- [GO-2020-0050 - XML digital signature validation bypass in github.com/russellhaering/goxmldsig](https://junglewise.ai/threats/cve-2020-15216-github-com-russellhaering-goxmldsig-vulnerable-to-signature)
