{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.12.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "eef6211ecd1147273be484d913b81c68c0bd8d3f"
            }
          ],
          "repo": "https://github.com/libops/captcha-protect",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-ph62-4j5g-2q4r"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34206.json"
  },
  "details": "Captcha Protect is a Traefik middleware to add an anti-bot challenge to individual IPs in a subnet when traffic spikes are detected from that subnet. Prior to version 1.12.2, a reflected cross-site scripting (XSS) vulnerability exists in github.com/libops/captcha-protect. The challenge page accepted a client-supplied destination value and rendered it into HTML using Go's text/template. Because text/template does not perform contextual HTML escaping, an attacker could supply a crafted destination value that breaks out of the hidden input attribute and injects arbitrary script into the challenge page. This issue has been patched in version 1.12.2.",
  "id": "CVE-2026-34206",
  "modified": "2026-04-01T23:08:58.016175558Z",
  "published": "2026-03-31T19:34:21.383Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34206.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/libops/captcha-protect/commit/eef6211ecd1147273be484d913b81c68c0bd8d3f"
    },
    {
      "type": "WEB",
      "url": "https://github.com/libops/captcha-protect/releases/tag/v1.12.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/libops/captcha-protect/security/advisories/GHSA-ph62-4j5g-2q4r"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-34206"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Captcha Protect: Reflected XSS in challenge page via unsanitized destination rendered with text/template"
}