CVE-2025-56252
Executive Summary
CVE-2025-56252 is a Cross-Site Scripting (XSS) vulnerability identified in ServitiumCRM version 2.10. The flaw allows an attacker to execute arbitrary JavaScript code by crafting a malicious URL and injecting it into the mobile parameter. This vulnerability can lead to session hijacking, data theft, and defacement. No official patch or advisory has been released by the vendor, and no public proof-of-concept (PoC) or exploit code is currently available. The EPSS score is 0.0%, indicating low exploitation activity in the wild, but the risk remains significant due to the lack of a patch.
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.
No signup required
CVSS Breakdown & Threat Level
- CVSS Score: 0.0 (No vector provided)
- Attack Vector (AV): Network (likely)
- Attack Complexity (AC): Low (likely)
- Privileges Required (PR): None (likely)
- User Interaction (UI): Required (victim must click a crafted link)
- Scope (S): Unchanged (likely)
- Confidentiality (C): Low (likely)
- Integrity (I): Low (likely)
- Availability (A): None (likely)
Threat Level: Medium (due to lack of patch and potential for targeted attacks)
Deep Dive & Mechanics
The vulnerability resides in the mobile parameter of ServitiumCRM 2.10. The application fails to properly sanitize user input before reflecting it in the response. An attacker can craft a URL such as:
https://target.com/somepage?mobile=<script>alert('XSS')</script>
When a victim visits this URL, the injected script executes in the context of the victim's browser, allowing the attacker to steal cookies, session tokens, or perform actions on behalf of the user.
Vulnerable vs. Patched Code
Vulnerable Code (ServitiumCRM 2.10):
// Example vulnerable PHP code
$mobile = $_GET['mobile'];
echo "Mobile: " . $mobile;
Patched Code (Hypothetical):
// Example patched PHP code
$mobile = htmlspecialchars($_GET['mobile'], ENT_QUOTES, 'UTF-8');
echo "Mobile: " . $mobile;
The vulnerable code directly outputs the mobile parameter without encoding, while the patched version uses htmlspecialchars() to escape HTML entities.
Exploitation & Lab Setup
Red Team
- Setup: Deploy a local instance of ServitiumCRM 2.10 (e.g., using Docker or a LAMP stack).
- Craft Payload: Create a malicious URL:
http://localhost/servitiumcrm/index.php?mobile=<script>alert(document.cookie)</script> - Deliver: Send the link to a victim via email or social engineering.
- Execute: When the victim clicks the link, the script executes, and the attacker can capture cookies or redirect to a phishing page.
Blue Team
- Detection: Monitor web server logs for suspicious
mobileparameter values containing<script>oronerrorpatterns. - Mitigation: Implement a Web Application Firewall (WAF) rule to block XSS payloads in the
mobileparameter. - User Training: Educate users not to click on suspicious links.
Indicators of Compromise (IOCs)
- URL Pattern:
?mobile=<script>...or?mobile=javascript:... - Log Entries: HTTP requests with
mobileparameter containing HTML/JavaScript tags. - Network Traffic: Outbound connections to attacker-controlled domains (if payload exfiltrates data).
Detection Engineering
YARA Rule
rule CVE_2025_56252_XSS {
meta:
description = "Detects XSS attempts targeting ServitiumCRM mobile parameter"
author = "Valters IT"
date = "2025-04-10"
reference = "CVE-2025-56252"
strings:
$xss1 = "mobile=<script" nocase
$xss2 = "mobile=javascript:" nocase
$xss3 = "mobile=onerror=" nocase
condition:
any of them
}
Sigma Rule
title: XSS Attempt via ServitiumCRM mobile Parameter
id: 12345678-1234-1234-1234-123456789abc
status: experimental
description: Detects XSS payloads in the mobile parameter of ServitiumCRM
author: Valters IT
logsource:
category: webserver
product: apache
detection:
selection:
c-uri|contains: "mobile="
c-uri|contains|any:
- "<script"
- "javascript:"
- "onerror="
condition: selection
falsepositives:
- Legitimate use of JavaScript in URL (rare)
level: high
Suricata Rule
alert http any any -> any any (msg:"CVE-2025-56252 XSS Attempt"; flow:to_server; content:"mobile="; http_uri; pcre:"/(<script|javascript:|onerror=)/i"; sid:1000001; rev:1;)
Remediation & Mitigation
- Immediate: Apply input validation and output encoding for the
mobileparameter. Usehtmlspecialchars()or equivalent. - Short-term: Deploy a WAF with XSS protection rules.
- Long-term: Upgrade to a patched version of ServitiumCRM once available. If no patch is released, consider migrating to an alternative CRM solution.
- Monitoring: Continuously monitor logs for XSS attempts and block malicious IPs.
Report generated by Valters IT DevSecOps & CTI Division
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.
💣 PoC CODE AVAILABLE
Exploit code for this CVE is tracked in our database.
Access poc_code via API Pro.