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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

CVSS 6.1 · Medium EPSS 0.04% · P12
Get alerts for future matching vulnerabilitiesLog 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: NVD (National Vulnerability Database)
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: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: NVD (National Vulnerability Database)
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

VendorProductAffected VersionsCPESubscribe
libopscaptcha-protect < 1.12.2 -

II. Public POCs for CVE-2026-34206

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-34206

登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2026-34206

No comments yet


Leave a comment