CVE-2025-12077
Reflected XSS in WP to LinkedIn Auto Publish Plugin Allows Script Injection
Publication date: 2025-12-13
Last updated on: 2025-12-13
Assigner: Wordfence
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| wordpress | wp_to_linkedin_auto_publish | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a Reflected Cross-Site Scripting (XSS) issue in the WP to LinkedIn Auto Publish plugin for WordPress, affecting all versions up to 1.9.8. It occurs because the plugin does not properly sanitize input or escape output, allowing unauthenticated attackers to inject malicious scripts into web pages. These scripts execute when a user is tricked into performing an action, such as clicking a link.
How can this vulnerability impact me? :
The vulnerability can allow attackers to execute arbitrary scripts in the context of the affected website, potentially leading to theft of user data, session hijacking, or other malicious actions. Since it requires user interaction, attackers may trick users into clicking malicious links that trigger the script execution.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
Detection of this vulnerability involves identifying attempts to exploit reflected Cross-Site Scripting (XSS) via PostMessage in the WP to LinkedIn Auto Publish plugin. Since the vulnerability is due to insufficient input sanitization and output escaping in versions up to 1.9.8, you can monitor web traffic for suspicious PostMessage events or unusual script injections targeting pages served by the plugin. Specific commands are not provided in the resources, but general approaches include using browser developer tools to inspect PostMessage events, or network monitoring tools to detect suspicious payloads in HTTP requests. Additionally, checking the plugin version installed on your WordPress site can help detect if you are vulnerable (versions <= 1.9.8). [1]
What immediate steps should I take to mitigate this vulnerability?
The immediate step to mitigate this vulnerability is to update the WP to LinkedIn Auto Publish plugin to version 1.9.9 or later, where the vulnerability is fixed by implementing origin validation for cross-window messaging and improved input handling. This update prevents unauthorized message injection or processing. Until the update is applied, consider restricting access to the plugin's administrative interfaces and educating users to avoid clicking suspicious links that could trigger the exploit. [1]