CVE-2026-34206CWE-79

Captcha Protect: Reflected XSS in challenge page via unsanitized destination rendered with text/template

Medium · published March 31, 2026

CVSS v3.1
6.1
EPSS
0%
Percentile
24.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.1 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00327 · 24.6th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-03-31T19:34Z
EPSS history
Timeline
  • 31 MAR 19:34Z
    Captcha Protect: Reflected XSS in challenge page via unsanitized destination rendered with text/template
    cvelistv5