{
  "id": "CVE-2026-33487",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-33487",
  "published_at": "2026-03-26T17:17:51.101Z",
  "title": "goxmldsig has validateSignature Loop Variable Capture Signature Bypass",
  "vendor": "russellhaering",
  "product": "goxmldsig",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-347",
  "cpes": [
    "cpe:2.3:a:goxmldsig_project:goxmldsig:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "russellhaering",
        "product": "goxmldsig",
        "ranges": [
          "\u003c 1.6.0"
        ],
        "fixed_in": [
          "1.6.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade goxmldsig to 1.6.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/russellhaering/goxmldsig/security/advisories/GHSA-479m-364c-43vc"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
