Skip to main content

PHP CVE-2026-31845

| EUVDEUVD-2026-21682 CRITICAL
Cross-site Scripting (XSS) (CWE-79)
2026-04-11 TuranSec GHSA-hxff-cjjh-cmf4
9.3
CVSS 4.0 · NVD
Share

Severity by source

NVD PRIMARY
9.3 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
A
Scope
X

Lifecycle Timeline

4
Analysis Generated
Apr 11, 2026 - 18:53 vuln.today
EUVD ID Assigned
Apr 11, 2026 - 18:45 euvd
EUVD-2026-21682
Analysis Generated
Apr 11, 2026 - 18:45 vuln.today
CVE Published
Apr 11, 2026 - 18:26 nvd
CRITICAL 9.3

DescriptionCVE.org

A pre-authenticated reflected cross-site scripting (XSS) vulnerability exists in Rukovoditel CRM version 3.6.4 in the Zadarma telephony API endpoint (/api/tel/zadarma.php). The application directly reflects user-supplied input from the 'zd_echo' GET parameter into the HTTP response without proper sanitization, output encoding, or content-type enforcement.

The vulnerability is caused by the following code:

if (isset($_GET['zd_echo'])) exit($_GET['zd_echo']);

This results in arbitrary JavaScript execution in the context of the victim's browser when a crafted URL is visited.

An attacker can exploit this issue by sending a malicious link such as:

https://TARGET/api/tel/zadarma.php?zd_echo=<script>alert('XSS')</script>

When a victim clicks the link, the payload executes in the application context, enabling session theft, phishing, and potential account takeover if sensitive users are targeted.

AnalysisAI

Reflected cross-site scripting (XSS) in Rukovoditel CRM 3.6.4's Zadarma telephony API endpoint allows remote attackers to execute arbitrary JavaScript in victim browsers without authentication. The vulnerability stems from direct reflection of the 'zd_echo' GET parameter without sanitization. With CVSS 9.3 (Critical), changed scope (S:C), and no authentication required (PR:N), this enables session hijacking and account takeover via malicious links. No public exploit identified at time of analysis, though proof-of-concept is trivial given the code-level disclosure. EPSS data not available.

Technical ContextAI

The vulnerability exists in the Zadarma telephony integration API endpoint at /api/tel/zadarma.php within Rukovoditel CRM 3.6.4 (CPE: cpe:2.3:a:rukovoditel:rukovoditel_crm:*:*:*:*:*:*:*:*). The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically a classic reflected XSS pattern in PHP code. The vulnerable code segment 'if (isset($_GET['zd_echo'])) exit($_GET['zd_echo']);' takes user-controlled input from the URL query string and directly outputs it to the HTTP response body without any encoding, sanitization, or Content-Type header enforcement. This allows injection of arbitrary HTML and JavaScript tags that execute in the same-origin context as the CRM application. The pre-authentication nature means the endpoint is accessible without session credentials, significantly lowering the barrier to exploitation. The Changed Scope (S:C) in the CVSS vector indicates impact can extend beyond the vulnerable component to affect other application resources through stolen session tokens or credentials.

RemediationAI

Upgrade to a patched version of Rukovoditel CRM if the vendor has released an update addressing this issue; consult the official vendor forum at https://forum.rukovoditel.net/viewtopic.php?p=22499#p22499 for patch announcements. Released patched version not independently confirmed from available data. If immediate patching is not feasible, implement workarounds including: disable or remove the /api/tel/zadarma.php endpoint if Zadarma telephony integration is not required; implement web application firewall (WAF) rules to block requests containing HTML/JavaScript tags in the 'zd_echo' parameter; apply input validation to reject non-alphanumeric characters in the zd_echo parameter at the web server or reverse proxy layer; implement Content Security Policy (CSP) headers with strict script-src directives to mitigate XSS impact. As a code-level fix, modify the vulnerable PHP file to properly sanitize output using htmlspecialchars() or equivalent encoding functions, and set appropriate Content-Type headers. Monitor access logs for suspicious requests to /api/tel/zadarma.php with script tags or encoded payloads in query parameters.

More in PHP

View all
CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-46506 CRITICAL POC
10.0 May 13

NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

Share

CVE-2026-31845 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy