CVE-2023-49176

7.1 HIGH

📋 TL;DR

This vulnerability allows attackers to inject malicious scripts into web pages generated by the WP Pocket URLs WordPress plugin. When users visit a specially crafted URL, the scripts execute in their browsers, potentially stealing session cookies or performing actions on their behalf. It affects all WordPress sites using WP Pocket URLs plugin versions up to and including 1.0.2.

💻 Affected Systems

Products:
  • WP Pocket URLs WordPress Plugin
Versions: n/a through 1.0.2
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: All WordPress installations using vulnerable plugin versions are affected regardless of configuration.

📦 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 unauthorized actions on behalf of users, or redirect users to phishing pages.

🟢

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 vulnerabilities are commonly exploited and require minimal technical skill.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.0.3 or later

Vendor Advisory: https://patchstack.com/database/vulnerability/wp-pocket-urls/wordpress-wp-pocket-urls-plugin-1-0-2-reflected-cross-site-scripting-xss-vulnerability

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find WP Pocket URLs. 4. Click 'Update Now' if update available. 5. If no update, deactivate and delete plugin, then install fresh version from WordPress repository.

🔧 Temporary Workarounds

Disable Plugin

all

Temporarily disable the vulnerable plugin until patched version is available.

wp plugin deactivate wp-pocket-urls

Web Application Firewall Rules

all

Implement WAF rules to block XSS payloads targeting WP Pocket URLs endpoints.

🧯 If You Can't Patch

  • Implement Content Security Policy (CSP) headers to restrict script execution sources
  • Use browser security extensions or plugins that block XSS attacks

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for WP Pocket URLs version. If version is 1.0.2 or earlier, you are vulnerable.

Check Version:

wp plugin get wp-pocket-urls --field=version

Verify Fix Applied:

After updating, verify plugin version shows 1.0.3 or later in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual GET/POST requests containing script tags or JavaScript payloads to WP Pocket URLs endpoints
  • Multiple failed login attempts following suspicious URL visits

Network Indicators:

  • HTTP requests with suspicious parameters containing <script>, javascript:, or encoded payloads

SIEM Query:

source="wordpress.log" AND ("wp-pocket-urls" OR "pocket-urls") AND ("<script>" OR "javascript:" OR "%3Cscript%3E")

🔗 References

📤 Share & Export