Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS 3.1 score of 6.1 reflects a network-accessible vulnerability (AV:N) with low attack complexity (AC:L) requiring no authentication (PR:N) but necessitating user interaction (UI:R) - the victim must view the challenge page. The impact is scoped as changed (S:C) with low confidentiality and integrity impact, reflecting session hijacking, credential theft, or malware distribution via injected scripts, but no availability impact. EPSS data is not provided, limiting exploitation probability quantification. However, the absence of CISA KEV status and public exploit code at time of analysis indicates this is not yet confirmed as actively exploited in the wild, though the straightforward nature of reflected XSS (requiring only a crafted link or referrer) suggests exploitation is feasible. The vulnerability is mitigated by user interaction requirement and browser same-origin policy limitations, but remains a legitimate risk for deployments where users may click untrusted links containing malicious destination parameters. The real-world priority depends on exposure: Traefik deployments protecting public-facing applications or handling untrusted traffic should prioritize patching; isolated internal deployments face lower risk. |
| Exploit ScenarioDerived | An attacker crafts a malicious URL containing a destination parameter with XSS payload, such as /challenge?destination=%22%3E%3Cscript%3Ealert('XSS')%3C/script%3E, and tricks a user into clicking it or embeds the link in a phishing email. When the user's browser requests the challenge page, the unescaped destination value breaks out of the HTML attribute context and injects a script tag that executes in the victim's browser, potentially stealing session cookies, capturing credentials, or redirecting to a malware distribution site. Since no public exploit code is currently identified and this is not listed as actively exploited by CISA, this represents a proof-of-concept-level threat vector requiring social engineering to trigger. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 31, 2026
Reflected cross-site scripting (XSS) in Captcha Protect versions prior to 1.12.2 allows unauthenticated remote attackers to inject arbitrary script into the anti-bot challenge page by supplying a crafted destination parameter. The vulnerability exploits unsafe use of Go's text/template library, which does not perform contextual HTML escaping, enabling attackers to break out of HTML attributes and execute malicious code in the context of users viewing the challenge page. This affects all Traefik middleware deployments using vulnerable versions of libops/captcha-protect.
RemediationAI
Upgrade Captcha Protect to version 1.12.2 or later, which includes the security patch. For Traefik users, this requires updating the captcha-protect dependency in their Traefik configuration or plugin repository and redeploying the middleware. The fix is available in the upstream release at https://github.com/libops/captcha-protect/releases/tag/v1.12.2, and the specific patch commit eef6211ecd1147273be484d913b81c68c0bd8d3f is referenced at https://github.com/libops/captcha-protect/commit/eef6211ecd1147273be484d913b81c68c0bd8d3f. The detailed advisory is available at https://github.com/libops/captcha-protect/security/advisories/GHSA-ph62-4j5g-2q4r. Users unable to patch immediately should review and restrict which external parameters or referrers can trigger the challenge page to reduce attack surface.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Captcha Protect is a Traefik middleware component designed to mitigate bot traffic by presenting a challenge page when traffic spikes are detected from specific subnets. The vulnerability resides in the challenge page rendering logic, where user-supplied destination values are embedded into HTML using Go's text/template package. Unlike html/template, which provides contextual autoescaping across HTML, JavaScript, CSS, and URL contexts, text/template performs no escaping whatsoever and is designed for plain-text output. The affected code path directly interpolates the destination parameter into an HTML attribute without sanitization, violating secure template practices. An attacker can craft a destination value containing payload sequences that break the attribute boundary (e.g., closing quotes and angle brackets) to inject script tags or event handlers. The CWE-79 classification confirms improper neutralization of input during web page generation, a classic XSS root cause.
Know when Captcha Protect gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-17602
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB