Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-34206: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in libops captcha-protect

0
Medium
VulnerabilityCVE-2026-34206cvecve-2026-34206cwe-79
Published: Tue Mar 31 2026 (03/31/2026, 19:34:21 UTC)
Source: CVE Database V5
Vendor/Project: libops
Product: captcha-protect

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/08/2026, 00:08:20 UTC

Technical Analysis

The vulnerability in libops captcha-protect (before version 1.12.2) is due to improper neutralization of input during web page generation (CWE-79). Specifically, the middleware uses Go's text/template to render a client-supplied destination value into the HTML of the challenge page. Since text/template does not perform contextual HTML escaping, an attacker can craft a destination value that breaks out of the hidden input attribute and injects malicious script, resulting in reflected XSS. This can lead to limited confidentiality and integrity impacts. The vulnerability is addressed by updating to version 1.12.2.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary scripts in the context of the victim's browser when they access the challenge page, potentially leading to limited confidentiality and integrity impacts. There is no impact on availability. The CVSS 3.1 base score is 6.1 (medium severity), reflecting network attack vector, low attack complexity, no privileges required, user interaction required, and scope change.

Mitigation Recommendations

Upgrade libops captcha-protect to version 1.12.2 or later, where this reflected XSS vulnerability is patched. No other mitigations are specified or required once the update is applied.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-26T15:57:52.323Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69cc2635e6bfc5ba1d366727

Added to database: 3/31/2026, 7:53:25 PM

Last enriched: 4/8/2026, 12:08:20 AM

Last updated: 5/15/2026, 10:45:40 AM

Views: 69

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses