Skip to main content

Captcha Protect EUVDEUVD-2026-17602

| CVE-2026-34206 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-03-31 GitHub_M
6.1
CVSS 3.1 · Vendor: GitHub_M
View

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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

captcha-protect < 1.12.2

Affected Packages

euvd captcha_protect fix: 1.12.2

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

Vendor (GitHub_M) PRIMARY 6.1 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch available
Apr 16, 2026 - 05:29 EUVD
1.12.2
CVE Published
Mar 31, 2026 - 19:34 nvd
MEDIUM 6.1

DescriptionCVE.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

EPSS Score
0.0%
Top 92% exploitable
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy