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

CVE-2025-64362

CVE-2025-64362 Cross-Site Scripting in Seventhqueen
📅 PUBLISHED: 2025-10-31 11:42 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.03%
👁️
0.03% probability
<1× above the median CVE
Tier: LOW
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1059.007
👁️
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: N Privileges Required None
UI: R User Interaction Required
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
6.5
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-64362 is a DOM-Based Cross-Site Scripting (XSS) vulnerability in the SeventhQueen K Elements WordPress plugin. The vulnerability exists in versions prior to 5.5.0, where user-supplied input is improperly neutralized during web page generation, allowing an attacker to inject malicious scripts that execute in the context of the victim's browser. This is a client-side attack vector, meaning the attacker must trick a user into interacting with a crafted link or page.

As this is a WordPress plugin vulnerability, it affects sites using the K Elements plugin. The attack surface is limited to authenticated or unauthenticated users depending on the specific DOM sink, but the CVSS vector indicates low privileges are required. No public exploit code or proof-of-concept has been released at this time.

⚡ 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 part of the WordPress plugin ecosystem. The K Elements plugin is distributed via the WordPress plugin repository and third-party marketplaces. Users should verify the integrity of their plugin files and ensure they are obtained from official sources. No known supply chain compromise has been reported.

CVSS Breakdown & Threat Level

  • CVSS Score: 6.5 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: None
  • User Interaction: Required
  • Scope: Changed
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None

Threat Level: Medium. The vulnerability requires user interaction (e.g., clicking a malicious link) and only allows limited data exfiltration or UI manipulation. However, in a WordPress context, an attacker could potentially steal session cookies or perform actions on behalf of an admin user if the victim has elevated privileges.

Deep Dive & Mechanics

The vulnerability is a DOM-Based XSS flaw in the K Elements plugin. Unlike reflected or stored XSS, DOM-Based XSS occurs when the client-side JavaScript processes user input from an untrusted source (e.g., document.location, document.URL, or window.name) and writes it to a dangerous sink (e.g., innerHTML, document.write, or eval).

In K Elements, the vulnerable code likely reads a parameter from the URL fragment or query string and injects it directly into the DOM without sanitization. For example, a script might parse window.location.hash and use it to set the content of a modal or tooltip. An attacker can craft a URL like:

https://victim-site.com/#<img src=x onerror=alert(1)>

When the victim visits this URL, the JavaScript in K Elements extracts the hash value and writes it to the page, causing the XSS payload to execute.

The vulnerability is present in all versions of K Elements prior to 5.5.0. The patch (if available) would involve proper input validation and output encoding, such as using textContent instead of innerHTML, or sanitizing input with DOMPurify.

Vulnerable vs. Patched Code

Vulnerable Code (hypothetical example):

// k-elements.js (vulnerable)
var hash = window.location.hash.substring(1);
document.getElementById('dynamic-content').innerHTML = hash;

Patched Code (expected fix):

// k-elements.js (patched)
var hash = window.location.hash.substring(1);
var sanitized = DOMPurify.sanitize(hash);
document.getElementById('dynamic-content').textContent = sanitized;

The patched version uses textContent (which does not interpret HTML) or sanitizes the input with a library like DOMPurify before using innerHTML.

Exploitation & Lab Setup

Red Team (Attack Simulation)

Since no public exploit code is available, a proof-of-concept can be crafted manually.

  1. Setup: Install a WordPress instance with K Elements version < 5.5.0.
  2. Craft Payload: Create a URL that triggers the DOM sink. For example:
    http://target-site.com/#<img src=x onerror=alert(document.cookie)>
    
  3. Delivery: Send the link to a victim via email, social engineering, or a redirect.
  4. Execution: When the victim clicks the link, the JavaScript executes and the payload runs in their browser.

Note: The exact parameter and sink may vary. Use browser developer tools to inspect the plugin's JavaScript and identify the vulnerable code path.

Blue Team (Defense & Detection)

  1. Web Application Firewall (WAF): Deploy WAF rules to block requests containing suspicious characters in URL fragments (e.g., <script, onerror, onload). However, note that DOM-Based XSS often bypasses server-side filters because the payload is in the fragment (which is not sent to the server).
  2. Content Security Policy (CSP): Implement a strict CSP that disallows inline scripts and only allows trusted sources. For example:
    Content-Security-Policy: default-src 'self'; script-src 'self'; object-src 'none';
    
  3. Input Validation: Ensure the plugin is updated to version 5.5.0 or later. If no patch is available, consider disabling the plugin or using a security plugin that adds client-side XSS protection.
  4. User Education: Train users not to click on suspicious links, especially those with unusual URL fragments.

Indicators of Compromise (IOCs)

  • URL Patterns: Requests containing # followed by HTML/JavaScript code (e.g., #<script>, #<img src=x onerror=...>).
  • Client-Side Behavior: Unexpected JavaScript execution, pop-up alerts, or network requests to external domains from the victim's browser.
  • Log Entries: Server logs may show unusual referrer headers or user-agent strings, but DOM-Based XSS often leaves no server-side trace.
  • File Hashes: For the vulnerable plugin file (e.g., k-elements.js), the MD5 hash of version < 5.5.0 may differ from the patched version. Example hash (hypothetical):
    MD5: a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6
    

Detection Engineering

YARA Rule

rule CVE_2025_64362_DOM_XSS {
    meta:
        description = "Detects vulnerable K Elements plugin files with DOM XSS patterns"
        author = "Valters IT"
        date = "2025-01-01"
        reference = "CVE-2025-64362"
    strings:
        $sink1 = ".innerHTML" ascii wide nocase
        $sink2 = ".outerHTML" ascii wide nocase
        $source1 = "location.hash" ascii wide nocase
        $source2 = "document.URL" ascii wide nocase
        $source3 = "document.documentURI" ascii wide nocase
    condition:
        all of ($sink*) and any of ($source*)
}

Sigma Rule

title: CVE-2025-64362 DOM XSS in K Elements Plugin
id: 12345678-1234-1234-1234-123456789abc
status: experimental
description: Detects potential exploitation attempts of DOM XSS in K Elements plugin
author: Valters IT
date: 2025/01/01
logsource:
    category: webserver
    product: apache
detection:
    selection:
        c-uri|contains:
            - '#<script'
            - '#<img'
            - '#<svg'
            - '#<iframe'
            - '#onerror'
            - '#onload'
    condition: selection
falsepositives:
    - Legitimate use of hash fragments with similar patterns
level: medium

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-64362 DOM XSS in K Elements Plugin"; flow:to_server,established; content:"#"; http_uri; pcre:"/#<(script|img|svg|iframe|input|body|div)[^>]*(onerror|onload|onclick|onmouseover)/i"; classtype:web-application-attack; sid:10000001; rev:1;)

Remediation & Mitigation

  1. Immediate Action: Upgrade the K Elements plugin to version 5.5.0 or later if a patch is available. If no patch exists, consider disabling the plugin until a fix is released.
  2. Workaround: If the plugin cannot be updated, use a security plugin that provides client-side XSS protection (e.g., Wordfence, Sucuri).
  3. Code Review: If you are a developer, review the plugin's JavaScript code for any use of innerHTML, outerHTML, or eval with untrusted input. Replace with safe alternatives like textContent or sanitize with DOMPurify.
  4. Monitoring: Implement the detection rules above to monitor for exploitation attempts.
  5. User Awareness: Educate users about the risks of clicking on links with unusual URL fragments.

Valters IT – Securing digital ecosystems through proactive 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:"k-elements"
http.html:"wp-content/plugins/k-elements"

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