CVE-2025-12077

6.1 MEDIUM

📋 TL;DR

The WP to LinkedIn Auto Publish WordPress plugin contains a reflected cross-site scripting (XSS) vulnerability that allows unauthenticated attackers to inject malicious scripts via PostMessage. When exploited, this can lead to session hijacking, credential theft, or redirection to malicious sites. All WordPress sites using this plugin up to version 1.9.8 are affected.

💻 Affected Systems

Products:
  • WP to LinkedIn Auto Publish WordPress plugin
Versions: All versions up to and including 1.9.8
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with the vulnerable plugin activated.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete account takeover, administrative access compromise, or installation of backdoors leading to full site control.

🟠

Likely Case

Session hijacking, credential theft, or redirection to phishing sites for targeted users.

🟢

If Mitigated

Limited impact with proper content security policies and user awareness training.

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Exploitation requires social engineering to trick users into clicking malicious links.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.9.9 or later

Vendor Advisory: https://plugins.trac.wordpress.org/browser/linkedin-auto-publish/trunk/js/notice.js

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'WP to LinkedIn Auto Publish' and click 'Update Now'. 4. Verify plugin version is 1.9.9 or higher.

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily deactivate the WP to LinkedIn Auto Publish plugin until patched.

wp plugin deactivate linkedin-auto-publish

Implement Content Security Policy

all

Add CSP headers to restrict script execution from untrusted sources.

Add to .htaccess: Header set Content-Security-Policy "default-src 'self'; script-src 'self'"
Add to nginx config: add_header Content-Security-Policy "default-src 'self'; script-src 'self'";

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block XSS payloads.
  • Restrict plugin access to trusted users only and monitor for suspicious activity.

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for WP to LinkedIn Auto Publish version 1.9.8 or lower.

Check Version:

wp plugin get linkedin-auto-publish --field=version

Verify Fix Applied:

Confirm plugin version is 1.9.9 or higher in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to WordPress admin-ajax.php with script payloads
  • Multiple failed login attempts following suspicious link clicks

Network Indicators:

  • HTTP requests containing script tags or JavaScript in query parameters
  • Traffic to known malicious domains from WordPress users

SIEM Query:

source="wordpress.log" AND ("admin-ajax.php" OR "linkedin-auto-publish") AND ("<script>" OR "javascript:")

🔗 References

📤 Share & Export