CVE-2024-5667

6.4 MEDIUM

📋 TL;DR

This CVE describes a stored cross-site scripting (XSS) vulnerability in multiple WordPress plugins that use the Featherlight.js library. Authenticated attackers with contributor-level access or higher can inject malicious scripts that execute when users view compromised pages. This affects WordPress sites using vulnerable plugin versions.

💻 Affected Systems

Products:
  • WordPress plugins using Featherlight.js library (e.g., WP Featherlight, Responsive Lightbox)
Versions: Featherlight.js versions 1.7.13 to 1.7.14
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with vulnerable plugins enabled. Contributor-level authentication 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, deface websites, redirect users to malicious sites, or install backdoors for persistent access.

🟠

Likely Case

Attackers with contributor access inject malicious scripts to steal user session cookies or credentials, potentially compromising user accounts.

🟢

If Mitigated

With proper input validation and output escaping, the vulnerability would be prevented, limiting impact to non-exploitable scenarios.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires authenticated access but is straightforward once authenticated. No public exploit code identified yet.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Update to Featherlight.js version 1.7.15 or later

Vendor Advisory: https://plugins.trac.wordpress.org/changeset/3137531/responsive-lightbox

Restart Required: No

Instructions:

1. Update all affected WordPress plugins to latest versions. 2. Verify Featherlight.js library is updated to 1.7.15+. 3. Clear WordPress cache if applicable.

🔧 Temporary Workarounds

Disable vulnerable plugins

all

Temporarily disable affected plugins until patched versions are available

Restrict user roles

all

Limit contributor-level access to trusted users only

🧯 If You Can't Patch

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

🔍 How to Verify

Check if Vulnerable:

Check WordPress plugin directories for Featherlight.js files and examine version numbers in file headers

Check Version:

grep -r 'featherlight' /path/to/wordpress/wp-content/plugins/ | grep -i version

Verify Fix Applied:

Verify Featherlight.js version is 1.7.15 or higher in plugin files

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to plugin endpoints
  • Suspicious script tags in page content
  • Multiple failed authentication attempts followed by successful contributor login

Network Indicators:

  • Malicious script payloads in HTTP requests
  • Unexpected outbound connections from WordPress site

SIEM Query:

source="wordpress.log" AND ("featherlight" OR "wp-featherlight") AND (POST OR PUT) AND status=200

🔗 References

📤 Share & Export