CVE-2025-31008 MEDIUM

CVE-2025-31008: WordPress YouTube Embed plugin <= 5.3.1 - Cross Site Scripting (XSS) Vulnerability

Vendor Embeds For Youtube Plugin Support
Product YouTube Embed
Weakness CWE-79 · XSS
Published April 9, 2025
Last update April 28, 2026

CVSS base score

5.9/10
Attack vector Network
Attack complexity Low
Privileges required High
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L

What the vulnerability does

01Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Embeds For YouTube Plugin Support YouTube Embed youtube-embed allows Stored XSS.This issue affects YouTube Embed: from n/a through <= 5.3.1.

Explanation of Vulnerability in Simple Terms

02Summary

The YouTube Embed plugin for WordPress contains a cross-site scripting (XSS) vulnerability in versions up to 5.3.1. An authenticated user with high privileges can inject malicious scripts that execute in the browsers of other site visitors. The vulnerability requires user interaction and affects the integrity and confidentiality of the site.

What an attacker can do

03Attacker Capabilities

Inject malicious JavaScript that runs in visitors' browsers when they view affected pages.

Potential impact on your site

04Site Impact

Site visitors could have their sessions hijacked, credentials stolen, or be redirected to malicious sites by a compromised admin account.

Conditions required to exploit

05Prerequisites

Attacker must have high-level admin privileges and a victim must visit a page containing the malicious embed.

Key dates

06Disclosure timeline

April 9, 2025 CVE published
April 28, 2026 Record updated