CVE-2024-13398

6.4 MEDIUM

📋 TL;DR

The Checkout for PayPal WordPress plugin has a stored cross-site scripting vulnerability in all versions up to 1.0.32. Authenticated attackers with contributor-level access or higher can inject malicious scripts via the plugin's shortcode attributes, which execute when users visit compromised pages. This affects all WordPress sites using vulnerable versions of this plugin.

💻 Affected Systems

Products:
  • Checkout for PayPal WordPress plugin
Versions: All versions up to and including 1.0.32
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with the vulnerable plugin enabled. Contributor-level access or higher is needed for exploitation.

⚠️ 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 credentials, redirect users to malicious sites, deface websites, or install backdoors for persistent access.

🟠

Likely Case

Attackers with contributor access inject malicious scripts to steal user session cookies or redirect visitors to phishing pages.

🟢

If Mitigated

With proper user role management and input validation, impact is limited to low-privileged user data theft.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires authenticated access but is technically simple once access is obtained.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.0.33

Vendor Advisory: https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3223256%40checkout-for-paypal&new=3223256%40checkout-for-paypal&sfp_email=&sfph_mail=

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'Checkout for PayPal' and click 'Update Now'. 4. Verify version is 1.0.33 or higher.

🔧 Temporary Workarounds

Disable plugin

all

Temporarily disable the vulnerable plugin until patching is possible

wp plugin deactivate checkout-for-paypal

Restrict user roles

all

Remove contributor-level access from untrusted users

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block XSS payloads
  • Apply strict Content Security Policy (CSP) headers to limit script execution

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel → Plugins → Checkout for PayPal → Version number

Check Version:

wp plugin get checkout-for-paypal --field=version

Verify Fix Applied:

Verify plugin version is 1.0.33 or higher in WordPress admin

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to WordPress admin with shortcode parameters
  • Multiple page edits by contributor-level users

Network Indicators:

  • Script tags with unusual attributes in HTTP responses
  • External script loads from unexpected domains

SIEM Query:

source="wordpress.log" AND ("checkout_for_paypal" OR "shortcode") AND ("script" OR "onerror" OR "javascript:")

🔗 References

📤 Share & Export