{
 "id": "WPSEC-2026-3658",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3658/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3658/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3658/index.md",
 "title": "WP Telegram Widget and Join Link <= 2.2.16 - Unauthenticated Reflected Cross-Site Scripting via 'username' Parameter",
 "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.",
 "plugin": {
  "slug": "wptelegram-widget",
  "name": "WP Telegram Widget and Join Link",
  "full_name": "WP Telegram Widget and Join Link",
  "wordpress_org": "https://wordpress.org/plugins/wptelegram-widget/",
  "advisories_url": "https://wpsec.com/vuln/plugin/wptelegram-widget/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/wptelegram-widget"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.1,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "1.6.0",
    "from_inclusive": true,
    "to": "2.2.17",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 1.6.0 before 2.2.17"
  ]
 },
 "introduced_in": "1.6.0",
 "fixed_in": "2.2.17",
 "remediation": "Update to 2.2.17 or later.",
 "fix_released": "2026-11-20T11:58:19+00:00",
 "published": "2026-11-21T12:47:12+00:00",
 "updated": "2026-11-21T09:00:02.628436+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-3658/",
  "https://plugins.svn.wordpress.org/wptelegram-widget/tags/2.2.17/",
  "https://wordpress.org/plugins/wptelegram-widget/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/wptelegram-widget",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-11-21"
 }
}