CVE-2025-22809
📋 TL;DR
This DOM-based Cross-Site Scripting (XSS) vulnerability in the Gravity Master PDF Catalog Woocommerce WordPress plugin allows attackers to inject malicious scripts into web pages viewed by other users. The vulnerability affects all WordPress sites using this plugin up to version 2.0. Attackers can steal session cookies, redirect users, or perform actions on their behalf.
💻 Affected Systems
- Gravity Master PDF Catalog Woocommerce WordPress Plugin
⚠️ 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.
- Review the CVE details at NVD
- Check vendor security advisories for your specific version
- Test if the vulnerability is exploitable in your environment
- Consider updating to the latest version as a precaution
⚠️ Risk & Real-World Impact
Worst Case
Attackers steal administrator session cookies, gain full control of the WordPress site, install backdoors, deface the site, or steal customer data including payment information.
Likely Case
Attackers steal user session cookies, redirect users to phishing sites, or perform actions on behalf of authenticated users.
If Mitigated
With proper input validation and output encoding, malicious scripts are neutralized before reaching users' browsers.
🎯 Exploit Status
DOM-based XSS typically requires user interaction (clicking a malicious link) but doesn't require authentication.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Version after 2.0 (check plugin repository for latest)
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Go to Plugins → Installed Plugins. 3. Find 'PDF Catalog Woocommerce'. 4. Click 'Update Now' if update available. 5. If no update available, deactivate and delete the plugin.
🔧 Temporary Workarounds
Content Security Policy (CSP)
allImplement a strict CSP header to prevent execution of inline scripts and restrict script 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'";
Input Validation Filter
allAdd WordPress filter to sanitize all user input before processing.
Add to theme functions.php: add_filter('preprocess_comment', 'sanitize_text_field');
Add custom sanitization for plugin-specific inputs
🧯 If You Can't Patch
- Disable or remove the PDF Catalog Woocommerce plugin immediately
- Implement Web Application Firewall (WAF) rules to block XSS payloads
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin → Plugins → Installed Plugins for 'PDF Catalog Woocommerce' version 2.0 or earlier.
Check Version:
wp plugin list --name='pdf-catalog-woocommerce' --field=version (WP-CLI) or check WordPress admin panel
Verify Fix Applied:
Verify plugin version is higher than 2.0 in WordPress admin panel, or test with XSS payloads in affected plugin features.
📡 Detection & Monitoring
Log Indicators:
- Unusual JavaScript in POST/GET parameters
- Multiple failed XSS attempts in web server logs
- Suspicious user agents containing script tags
Network Indicators:
- HTTP requests containing <script> tags or JavaScript events in parameters
- Unusual redirects to external domains
SIEM Query:
source="web_logs" AND ("<script" OR "javascript:" OR "onload=" OR "onerror=") AND uri_path="/wp-content/plugins/pdf-catalog-woocommerce/"