Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-34206— Captcha Protect: Reflected XSS in challenge page via unsanitized destination rendered with text/template

Quick assessment

Affected
libops captcha-protect
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Captcha Protect是libops开源的一个基于流量检测的验证码防护中间件。 Captcha Protect 1.12.2之前版本存在跨站脚本漏洞,该漏洞源于挑战页面接受客户端提供的目标值并使用Go的text/template将其渲染到HTML中,由于text/template不执行上下文HTML转义,可能导致攻击者提供特制的目标值以突破隐藏输入属性并向挑战页面注入任意脚本。

CVSS 6.1 · Medium EPSS 0.33% · P24
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-34206

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Captcha Protect: Reflected XSS in challenge page via unsanitized destination rendered with text/template
Source: CVE Program / CVE List V5
Vulnerability Description
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: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
Captcha Protect 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Captcha Protect是libops开源的一个基于流量检测的验证码防护中间件。 Captcha Protect 1.12.2之前版本存在跨站脚本漏洞,该漏洞源于挑战页面接受客户端提供的目标值并使用Go的text/template将其渲染到HTML中,由于text/template不执行上下文HTML转义,可能导致攻击者提供特制的目标值以突破隐藏输入属性并向挑战页面注入任意脚本。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
libops captcha-protect < 1.12.2 -

II. Public POCs for CVE-2026-34206

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-34206

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-34206 (1)

Vendor Advisories for CVE-2026-34206 (1)

Other References for CVE-2026-34206 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-34206

No comments yet


Leave a comment