CVE-2026-34206: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in libops captcha-protect
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 Analysis
Technical Summary
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.
CVE-2026-34206: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in libops 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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.