CVE-2025-27346

7.1 HIGH

📋 TL;DR

This reflected cross-site scripting (XSS) vulnerability in the WordPress Rebuild Permalinks plugin allows attackers to inject malicious scripts into web pages viewed by other users. Attackers can steal session cookies, redirect users to malicious sites, or perform actions on behalf of authenticated users. All WordPress sites using vulnerable versions of the Rebuild Permalinks plugin are affected.

💻 Affected Systems

Products:
  • WordPress Rebuild Permalinks plugin
Versions: All versions up to and including 1.6
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: The vulnerability exists in the plugin's input handling during web page generation, affecting all installations with default configurations.

⚠️ 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 session cookies, gain full administrative access to the WordPress site, install backdoors, deface the site, or steal sensitive user data.

🟠

Likely Case

Attackers craft malicious links containing XSS payloads, trick users into clicking them, and steal their session cookies to hijack accounts or perform unauthorized actions.

🟢

If Mitigated

With proper input validation and output encoding, the malicious scripts would be neutralized, preventing execution in 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. Attackers need to trick users into clicking malicious links.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.7 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/rebuild-permalinks/vulnerability/wordpress-rebuild-permalinks-plugin-1-6-reflected-cross-site-scripting-xss-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find Rebuild Permalinks and click 'Update Now'. 4. If update not available, deactivate and delete the plugin, then install version 1.7+ from WordPress repository.

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily deactivate the Rebuild Permalinks plugin until patched

wp plugin deactivate rebuild-permalinks

Implement WAF rules

all

Configure web application firewall to block XSS payload patterns

🧯 If You Can't Patch

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

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for Rebuild Permalinks version 1.6 or earlier

Check Version:

wp plugin get rebuild-permalinks --field=version

Verify Fix Applied:

Verify plugin version is 1.7 or later in WordPress admin panel

📡 Detection & Monitoring

Log Indicators:

  • Unusual GET/POST requests containing script tags or JavaScript code to plugin endpoints
  • Multiple failed login attempts following suspicious URL parameters

Network Indicators:

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

SIEM Query:

source="web_server_logs" AND (uri="*rebuild-permalinks*" AND (param="*<script>*" OR param="*javascript:*" OR param="*%3Cscript%3E*"))

🔗 References

📤 Share & Export