CVE-2024-24879

7.1 HIGH

📋 TL;DR

This vulnerability allows attackers to inject malicious scripts into web pages generated by the Link Library WordPress plugin. When users visit a specially crafted URL, the script executes in their browser, potentially stealing cookies, session tokens, or performing actions on their behalf. All WordPress sites using vulnerable versions of Link Library are affected.

💻 Affected Systems

Products:
  • WordPress Link Library plugin
Versions: All versions up to and including 7.5.13
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: All WordPress installations with Link Library plugin enabled are vulnerable.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could steal administrator session cookies, take over WordPress sites, deface websites, or redirect visitors to malicious sites.

🟠

Likely Case

Attackers steal user session cookies or credentials, perform actions on behalf of users, or redirect users to phishing sites.

🟢

If Mitigated

With proper input validation and output encoding, malicious scripts are neutralized before reaching users' browsers.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Reflected XSS typically requires user interaction (clicking a malicious link) but is easy to exploit.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 7.5.14 or later

Vendor Advisory: https://patchstack.com/database/vulnerability/link-library/wordpress-link-library-plugin-7-5-13-reflected-cross-site-scripting-xss-vulnerability

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Go to Plugins > Installed Plugins. 3. Find Link Library and click 'Update Now'. 4. Verify version is 7.5.14 or higher.

🔧 Temporary Workarounds

Disable Link Library plugin

all

Temporarily disable the vulnerable plugin until patched

wp plugin deactivate link-library

Implement WAF rules

all

Add web application firewall rules to block XSS payloads

🧯 If You Can't Patch

  • Implement Content Security Policy (CSP) headers to restrict script execution
  • Use browser security features like HttpOnly cookies and SameSite attributes

🔍 How to Verify

Check if Vulnerable:

Check Link Library plugin version in WordPress admin panel under Plugins > Installed Plugins

Check Version:

wp plugin get link-library --field=version

Verify Fix Applied:

Verify plugin version is 7.5.14 or higher and test with XSS payloads

📡 Detection & Monitoring

Log Indicators:

  • Unusual GET/POST requests with script tags or JavaScript code
  • Multiple failed XSS attempts

Network Indicators:

  • HTTP requests containing <script>, javascript:, or other XSS payloads

SIEM Query:

source="wordpress.log" AND ("<script" OR "javascript:" OR "onerror=" OR "onload=")

🔗 References

📤 Share & Export