CVE-2025-5939

Telegram for WP <= 1.6.1 - Authenticated (Admin+) Stored Cross-Site Scripting

Published Jun 13, 2025 CVSS 3.1 · 4.4 Medium EPSS < 1% KEV · Not listed
Description
The Telegram for WP plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 1.6.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.

Analysis

AI-generated

Technical impact

The Telegram for WP WordPress plugin contains a stored cross‑site scripting flaw that arises from insufficient input sanitization and output escaping in its admin settings pages. Authenticated users with administrator‑level permissions or higher can insert arbitrary web scripts that are stored and then executed whenever a visitor loads an affected page. This flaw directly matters for confidentiality, integrity, and availability of site content as it can be used to alter the user experience or deliver malicious payloads.

Affected Systems

The vulnerability affects the Telegram for WP plugin distributed by amir‑mousavi in all releases up to and including version 1.6.1. It is only relevant in multi‑site WordPress installations or in setups where the unfiltered_html capability has been disabled, which permits the insertion of unsanitized HTML.

Risk and Exploitability

The CVSS score of 4.4 indicates moderate severity, while the EPSS score of less than 1% shows a low probability of exploitation. The flaw is not listed in CISA KEV. Based on the description, the likely attack vector involves an authenticated admin+ user accessing the plugin’s settings page to submit malicious script payloads that are then stored and served to site visitors.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Telegram for WP to a version newer than 1.6.1 once it becomes available
  • Restrict or remove the ability of users with admin+ capabilities to edit plugin settings that can contain arbitrary code, or implement role‑based access controls to limit who can reach the settings page
  • Ensure the unfiltered_html capability is only granted to trusted accounts and, where necessary, apply proper sanitization to the plugin’s settings inputs before deployment

Generated by OpenCVE AI on April 20, 2026 at 22:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-18232 The Telegram for WP plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 1.6.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00029}

epss

{'score': 0.00031}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The Telegram for WP plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 1.6.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.
Title Telegram for WP <= 1.6.1 - Authenticated (Admin+) Stored Cross-Site Scripting
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N'}

Subscriptions

No data.

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:24 PM
Reserved
Jun 9, 2025, 3:51 PM
Status
Deferred
Published
Jun 13, 2025, 3:15 AM
Modified
Jun 17, 2026, 9:49 AM