Description
The WP YouTube Video Optimizer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'ib_youtube' shortcode in all versions up to, and including, 1.2 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Published: 2025-05-21
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting that can execute arbitrary scripts in browsers of site visitors when they view or edit content containing the vulnerable shortcode
Action: Apply Patch
AI Analysis

Impact

The WP YouTube Video Optimizer plugin contains a stored XSS weakness in the ib_youtube shortcode. Unsanitized and unescaped attribute values can be stored in the database, and the plugin later outputs them to any page that parses the shortcode. An attacker with contributor or higher privileges can therefore insert malicious scripts that run in the browsers of any user who views a post or page with the affected content. This can lead to session hijacking, credential theft, or defacement. The weakness corresponds to CWE-79.

Affected Systems

All installations of the WP YouTube Video Optimizer plugin with a version equal to or older than 1.2 are affected. The plugin is distributed by the vendor Measuremarketing and is used within WordPress sites. No further version details are listed by the CNA.

Risk and Exploitability

The CVSS score of 6.4 indicates a moderate severity and the EPSS score of less than 1% suggests a low but present likelihood of exploitation. The vulnerability is not in the CISA KEV catalog. Attackers need authenticated contributor‑level access to create or edit content that contains the ib_youtube shortcode; the code then runs for any site visitor. While the chance of widespread exploitation may be low, once present it can compromise the trust and integrity of the affected sites.

Generated by OpenCVE AI on April 21, 2026 at 20:40 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the WP YouTube Video Optimizer plugin to a version newer than 1.2, which corrects the input sanitization and output escaping of the ib_youtube shortcode
  • If an update is not immediately possible, restrict the use of the ib_youtube shortcode to users with editor or administrator roles, or disable the shortcode for contributors entirely
  • Manually review and sanitize all existing content that contains the ib_youtube shortcode, removing any script tags or untrusted attributes to eliminate stored malicious payloads

Generated by OpenCVE AI on April 21, 2026 at 20:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-16083 The WP YouTube Video Optimizer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'ib_youtube' shortcode in all versions up to, and including, 1.2 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
History

Wed, 21 May 2025 11:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 21 May 2025 09:30:00 +0000

Type Values Removed Values Added
Description The WP YouTube Video Optimizer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'ib_youtube' shortcode in all versions up to, and including, 1.2 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Title WP YouTube Video Optimizer <= 1.2 - Authenticated (Contributor+) Stored Cross-Site Scripting
Weaknesses CWE-79
References
Metrics cvssV3_1

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T17:00:37.484Z

Reserved: 2025-05-02T12:55:37.362Z

Link: CVE-2025-4217

cve-icon Vulnrichment

Updated: 2025-05-21T10:11:38.491Z

cve-icon NVD

Status : Deferred

Published: 2025-05-21T12:16:22.700

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-4217

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-21T20:45:25Z

Weaknesses