{"id":"CVE-2026-34206","published":"2026-03-31T19:34:21Z","modified":"2026-04-01T18:41:05Z","title":"Captcha Protect: Reflected XSS in challenge page via unsanitized destination rendered with text/template","vendor":"libops","product":"captcha-protect","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00347,"percentile":0.20715,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/libops/captcha-protect/security/advisories/GHSA-ph62-4j5g-2q4r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/libops/captcha-protect/commit/eef6211ecd1147273be484d913b81c68c0bd8d3f","tags":["x_refsource_MISC"]},{"url":"https://github.com/libops/captcha-protect/releases/tag/v1.12.2","tags":["x_refsource_MISC"]}],"priority":{"score":8.4,"factors":[{"name":"EPSS percentile","points":4.14},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"libops","affectedVersions":[{"vendor":"libops","product":"captcha-protect","versions":["< 1.12.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-01T18:40:57.202868Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-17602","exploited":false,"provenance":"source"}}