{"cve":"CVE-2026-33487","nvd":{"published":"2026-03-26T18:16:30.070","modified":"2026-09-09T13:19:24.923","status":"Modified","description":"goxmlsig provides XML Digital Signatures implemented in Go. Prior to version 1.6.0, the `validateSignature` function in `validate.go` goes through the references in the `SignedInfo` block to find one that matches the signed element's ID. In Go versions before 1.22, or when `go.mod` uses an older version, there is a loop variable capture issue. The code takes the address of the loop variable `_ref` instead of its value. As a result, if more than one reference matches the ID or if the loop logic is incorrect, the `ref` pointer will always end up pointing to the last element in the `SignedInfo.References` slice after the loop. goxmlsig version 1.6.0 contains a patch.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5},"cwes":["CWE-347","CWE-682"],"references":["https://github.com/russellhaering/goxmldsig/security/advisories/GHSA-479m-364c-43vc","https://access.redhat.com/errata/RHSA-2026:13548","https://access.redhat.com/errata/RHSA-2026:20943","https://access.redhat.com/errata/RHSA-2026:20946","https://access.redhat.com/errata/RHSA-2026:21769"],"products":["goxmldsig_project:goxmldsig"],"source":"nvd","synced_at":"2026-10-19T22:28:18.033120106+00:00"},"epss":{"cve":"CVE-2026-33487","score":0.00322,"percentile":0.25247,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-479m-364c-43vc","url":"https://osv.dev/vulnerability/GHSA-479m-364c-43vc","summary":"validateSignature Loop Variable Capture Signature Bypass in goxmldsig","modified":"2026-09-10T03:50:37.081003359Z","packages":[{"ecosystem":"Go","name":"github.com/russellhaering/goxmldsig","purl":"pkg:golang/github.com/russellhaering/goxmldsig","ranges":["<1.6.0"],"fixed":["1.6.0"]}]},{"id":"GO-2026-4753","url":"https://osv.dev/vulnerability/GO-2026-4753","summary":"Loop Variable Capture Signature Bypass in goxmldsig in github.com/russellhaering/goxmldsig","modified":"2026-03-30T14:29:32.344545Z","packages":[{"ecosystem":"Go","name":"github.com/russellhaering/goxmldsig","purl":"pkg:golang/github.com/russellhaering/goxmldsig","ranges":["<1.6.0"],"fixed":["1.6.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}