CVE-2025-12643
📋 TL;DR
The Saphali LiqPay for donate WordPress plugin has a stored cross-site scripting vulnerability in all versions up to 1.0.2. Authenticated attackers with contributor-level access or higher can inject malicious scripts via the 'saphali_liqpay' shortcode, which execute when users view affected pages. This affects all WordPress sites using the vulnerable plugin.
💻 Affected Systems
- Saphali LiqPay for donate 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 could steal administrator credentials, redirect users to malicious sites, deface websites, or perform actions on behalf of authenticated users.
Likely Case
Attackers with contributor access inject malicious scripts to steal user session cookies or display phishing content to visitors.
If Mitigated
With proper user role management and content review, impact is limited to potential defacement of specific pages.
🎯 Exploit Status
Exploitation requires authenticated access but is straightforward once attacker has contributor privileges.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 1.0.3 or later
Vendor Advisory: https://plugins.trac.wordpress.org/changeset/3391235/saphali-liqpay-for-donate/
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'Saphali LiqPay for donate' and click 'Update Now'. 4. Verify plugin version is 1.0.3 or higher.
🔧 Temporary Workarounds
Remove Contributor Access
allTemporarily restrict contributor-level user creation and review existing contributor accounts.
Disable Plugin
linuxDeactivate the vulnerable plugin until patched.
wp plugin deactivate saphali-liqpay-for-donate
🧯 If You Can't Patch
- Implement strict user role management and review all contributor accounts
- Add web application firewall rules to block XSS payloads in shortcode attributes
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel → Plugins → Installed Plugins for 'Saphali LiqPay for donate' version 1.0.2 or lower.
Check Version:
wp plugin get saphali-liqpay-for-donate --field=version
Verify Fix Applied:
Verify plugin version is 1.0.3 or higher in WordPress admin panel.
📡 Detection & Monitoring
Log Indicators:
- Unusual shortcode modifications by contributor users
- Multiple page edits containing script tags in shortcode attributes
Network Indicators:
- External script loading from unexpected domains in page responses
SIEM Query:
source="wordpress" AND (event="plugin_update" AND plugin_name="saphali-liqpay-for-donate" AND version<="1.0.2") OR (event="page_edit" AND user_role="contributor" AND content LIKE "%saphali_liqpay%" AND content LIKE "%script%")