WP Telegram Widget and Join Link <= 2.2.16 - Unauthenticated Reflected Cross-Site Scripting via 'username' Parameter

Medium 6.1 CWE-79Fixed in 2.2.17
ID
WPSEC-2026-3658
Plugin
WP Telegram Widget and Join Link (wptelegram-widget)
Affected
from 1.6.0 before 2.2.17
Remediation
Update to 2.2.17 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-21
Attack surface
WP Telegram Widget and Join Link on WPSec AttackSurface
Fix released
Published

Description

The WP Telegram Widget and Join Link plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'username' parameter of the public widget embed view endpoint in all versions up to, and including, 2.2.16 due to insufficient input validation and output escaping. The username was only passed through sanitize_text_field and then placed unescaped into the URLs written into the href and form action attributes of the proxied channel widget HTML, so double quotes could break out of the attribute. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0