{"id":"CVE-2026-34206","aliases":["CVE-2026-34206"],"related":[],"kind":"vulnerability","state":"published","title":"Captcha Protect: Reflected XSS in challenge page via unsanitized destination rendered with text/template","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Captcha Protect es un middleware de Traefik para añadir un desafío anti-bot a IPs individuales en una subred cuando se detectan picos de tráfico desde esa subred. Antes de la versión 1.12.2, existe una vulnerabilidad de cross-site scripting (XSS) reflejado en github.com/libops/captcha-protect. La página de desafío aceptaba un valor de destino proporcionado por el cliente y lo renderizaba en HTML usando el text/template de Go. Debido a que text/template no realiza el escape contextual de HTML, un atacante podría proporcionar un valor de destino manipulado que escapa del atributo de entrada oculto e inyecta script arbitrario en la página de desafío. Este problema ha sido parcheado en la versión 1.12.2.","source":"nvd"}],"published":"2026-03-31T19:34:21.383Z","modified":"2026-07-24T20:10:00.147Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 1.12.2","status":"affected"}],"vendor":"libops","product":"captcha-protect","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.12.2"}],"vendor":"libops","product":"captcha_protect","cpe":"cpe:2.3:a:libops:captcha_protect:*:*:*:*:*:traefik:*:*","source":"nvd"}],"references":[{"url":"https://github.com/libops/captcha-protect/security/advisories/GHSA-ph62-4j5g-2q4r","tags":["mitigation","patch","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/libops/captcha-protect/commit/eef6211ecd1147273be484d913b81c68c0bd8d3f","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/libops/captcha-protect/releases/tag/v1.12.2","tags":["product","release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-01T18:40:57.202Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-34206","url":"https://www.cve.org/CVERecord?id=CVE-2026-34206","licence":"CVE Terms of Use","modified":"2026-04-01T18:41:05.256Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-34206","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34206","licence":"Public domain","modified":"2026-07-24T20:10:00.147Z"}],"updatedAt":"2026-11-25T22:59:17.620Z","epss":{"score":0.00223,"percentile":0.1382,"date":"2026-12-01T12:00:22.000Z"}}