Cross-site Scripting Vulnerability in YouTube Embed Plugin

5.9MEDIUM

Key Information:

Vendor

WordPress

CVE ID
CVE ID:
CVE-2025-31008
Vendor
CVE Published:
9 April 2025
Fixed in
Fixed in:
5.4

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but needs a login
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Monitor

Low risk for most. Patch in your normal cycle.

What to do

1Update to a fixed version
YouTube Embed 0 to below 5.4 is vulnerable
Install YouTube Embed 5.4 or later
Read the vendor advisory β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach YouTube Embed. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Monitor"
  • Its CVSS severity is medium (5.9).

What is CVE-2025-31008?

The YouTube Embed Plugin for WordPress has been identified as having a Cross-site Scripting (XSS) vulnerability. This flaw occurs due to improper handling of input during web page generation, potentially allowing attackers to insert malicious scripts. Users of the plugin, particularly those on versions prior to 5.3.1, are at risk of having their websites compromised through stored XSS attacks.

References

Object Injection in Ultimate Member

CVE-2026-134481
WordPressUltimate MemberπŸ˜„9.8CRITICAL

Unauthorized Password Reset in User Registration Aide Plugin for WordPress

CVE-2026-121385
WordPressUser Registration AideπŸ‘Ύ9.8CRITICAL

Remote Code Execution in WP Duplicate Plugin

CVE-2026-14492
WordPressWP Duplicate – WordPre...9.8CRITICAL
View more WordPress vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V3.1

Score:
5.9
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
High
User Interaction:
Required
Scope:
Changed

Credit

Abhinav Porwal (Patchstack Alliance)
.