CVE-2024-35649

6.5 MEDIUM

📋 TL;DR

This stored cross-site scripting (XSS) vulnerability in the Pdfcrowd Save as PDF WordPress plugin allows attackers to inject malicious scripts into web pages. When users view affected pages, the scripts execute in their browsers, potentially stealing credentials or performing unauthorized actions. All WordPress sites using vulnerable versions of this plugin are affected.

💻 Affected Systems

Products:
  • WordPress Save as PDF plugin by Pdfcrowd
Versions: All versions up to and including 3.2.3
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects WordPress installations with the vulnerable plugin active. The vulnerability requires attacker access to input fields that aren't properly sanitized.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could steal administrator credentials, take over WordPress sites, deface websites, or redirect visitors to malicious sites, potentially leading to complete site compromise and data theft.

🟠

Likely Case

Attackers inject malicious JavaScript that steals user session cookies or credentials when users visit compromised pages, leading to account takeover and unauthorized access.

🟢

If Mitigated

With proper input validation and output encoding, malicious scripts would be neutralized before reaching users, preventing execution and limiting impact to data integrity issues.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

XSS vulnerabilities are commonly exploited, though specific exploit details for this CVE aren't publicly documented. Attackers need some level of access to inject malicious payloads.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 3.2.4 or later

Vendor Advisory: https://patchstack.com/database/vulnerability/save-as-pdf-by-pdfcrowd/wordpress-save-as-pdf-plugin-by-pdfcrowd-plugin-3-2-3-cross-site-scripting-xss-vulnerability

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'Save as PDF by Pdfcrowd'. 4. Click 'Update Now' if available. 5. Alternatively, download version 3.2.4+ from WordPress repository and manually update.

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily deactivate the Pdfcrowd Save as PDF plugin until patched

wp plugin deactivate save-as-pdf-by-pdfcrowd

Implement WAF rules

all

Configure web application firewall to block XSS payload patterns

🧯 If You Can't Patch

  • Remove or disable the Pdfcrowd Save as PDF plugin entirely
  • Implement strict Content Security Policy (CSP) headers to prevent script execution from untrusted sources

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → Installed Plugins for 'Save as PDF by Pdfcrowd' version. If version is 3.2.3 or lower, you're vulnerable.

Check Version:

wp plugin get save-as-pdf-by-pdfcrowd --field=version

Verify Fix Applied:

After updating, verify plugin version shows 3.2.4 or higher in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to plugin endpoints
  • Suspicious JavaScript payloads in request logs
  • Multiple failed login attempts following plugin access

Network Indicators:

  • Unexpected outbound connections from WordPress site
  • Traffic to known malicious domains from user browsers

SIEM Query:

source="wordpress.log" AND ("save-as-pdf" OR "pdfcrowd") AND ("<script>" OR "javascript:" OR "onerror=" OR "onload=")

🔗 References

📤 Share & Export