CVE-2025-57945

5.9 MEDIUM

📋 TL;DR

This stored cross-site scripting (XSS) vulnerability in the WP Advanced PDF WordPress plugin allows attackers to inject malicious scripts into web pages. When users view pages containing the injected scripts, the attacker can steal session cookies, redirect users, or perform actions on their behalf. All WordPress sites using WP Advanced PDF version 1.1.7 or earlier are affected.

💻 Affected Systems

Products:
  • WP Advanced PDF WordPress Plugin
Versions: n/a through 1.1.7
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: All installations with the vulnerable plugin version are affected regardless of configuration.

⚠️ 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

Attackers could steal administrator session cookies, take over WordPress sites, install backdoors, deface websites, or redirect users to malicious sites.

🟠

Likely Case

Attackers inject malicious JavaScript to steal user session cookies, potentially compromising user accounts and performing unauthorized actions.

🟢

If Mitigated

With proper input validation and output encoding, malicious scripts would be neutralized before reaching users, preventing exploitation.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Exploitation requires finding the specific input vector and crafting appropriate XSS payloads.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version after 1.1.7

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/wp-advanced-pdf/vulnerability/wordpress-wp-advanced-pdf-plugin-1-1-7-cross-site-scripting-xss-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find WP Advanced PDF. 4. Click 'Update Now' if update available. 5. If no update, deactivate and delete plugin, then install latest version from WordPress repository.

🔧 Temporary Workarounds

Input Sanitization

all

Implement proper input validation and output encoding for all user inputs in the plugin code.

🧯 If You Can't Patch

  • Disable or remove the WP Advanced PDF plugin immediately.
  • Implement a web application firewall (WAF) with XSS protection rules.

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for WP Advanced PDF version 1.1.7 or earlier.

Check Version:

wp plugin list --name=wp-advanced-pdf --field=version

Verify Fix Applied:

Verify plugin version is higher than 1.1.7 in WordPress admin panel > Plugins > Installed Plugins.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to plugin endpoints with script tags or JavaScript payloads
  • Multiple failed XSS attempts in web server logs

Network Indicators:

  • HTTP requests containing suspicious script tags or JavaScript in parameters
  • Unexpected outbound connections from user browsers after visiting affected pages

SIEM Query:

source="web_server" AND ("wp-advanced-pdf" OR "<script>" OR "javascript:") AND status=200

🔗 References

📤 Share & Export