CVE-2025-4217

WP YouTube Video Optimizer <= 1.2 - Authenticated (Contributor+) Stored Cross-Site Scripting

Published May 21, 2025 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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
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 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.

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:00 PM
Reserved
May 2, 2025, 12:55 PM
Status
Deferred
Published
May 21, 2025, 12:16 PM
Modified
Jun 17, 2026, 9:32 AM