CVE-2024-13351
📋 TL;DR
This vulnerability allows authenticated WordPress users with contributor-level access or higher to inject malicious scripts into website pages via the 'rw_image_badge1' shortcode. The scripts execute whenever users visit the compromised pages, enabling session hijacking, credential theft, or website defacement. All WordPress sites using the Social proof testimonials and reviews by Repuso plugin up to version 5.20 are affected.
💻 Affected Systems
- Social proof testimonials and reviews by Repuso 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, compromise user sessions, install backdoors, redirect visitors to malicious sites, or completely take over the WordPress site.
Likely Case
Attackers with contributor access inject malicious scripts to steal user cookies/sessions, display fraudulent content, or redirect users to phishing pages.
If Mitigated
With proper user access controls and content security policies, impact is limited to potential content defacement within the contributor's own posts.
🎯 Exploit Status
Exploitation requires contributor-level WordPress access; attacker must craft malicious shortcode attributes.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Version after 5.20
Vendor Advisory: https://plugins.trac.wordpress.org/changeset/3222107/social-testimonials-and-reviews-widget/trunk/social-testimonials-and-reviews-widget.php
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'Social proof testimonials and reviews by Repuso'. 4. Click 'Update Now' if available. 5. Alternatively, delete and reinstall latest version from WordPress repository.
🔧 Temporary Workarounds
Disable vulnerable shortcode
allRemove or disable the 'rw_image_badge1' shortcode functionality
Add to theme's functions.php: remove_shortcode('rw_image_badge1');
Restrict user roles
allLimit contributor and author roles to trusted users only
🧯 If You Can't Patch
- Implement Content Security Policy (CSP) headers to restrict script execution
- Regularly audit user accounts and remove unnecessary contributor/author roles
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel > Plugins > Social proof testimonials and reviews by Repuso > View version details
Check Version:
wp plugin list --name='social-testimonials-and-reviews-widget' --field=version
Verify Fix Applied:
Verify plugin version is higher than 5.20 and test shortcode functionality with script-like input
📡 Detection & Monitoring
Log Indicators:
- Unusual shortcode usage in post revisions
- Multiple post edits by contributor users
- Suspicious script tags in database content
Network Indicators:
- Unexpected external script loads from WordPress pages
- Suspicious outbound connections from user browsers
SIEM Query:
source="wordpress" AND (shortcode="rw_image_badge1" OR plugin="social-testimonials-and-reviews-widget")