CVE-2025-50567 Details
Description
Saurus CMS Community Edition 4.7.1 contains a vulnerability in the custom DB::prepare() function, which uses preg_replace() with the deprecated /e (eval) modifier to interpolate SQL query parameters. This leads to injection of user-controlled SQL statements, potentially leading to arbitrary PHP code execution.
A critical SQL injection vulnerability has been identified in Saurus CMS Community Edition version 4.7.1. The issue arises in the custom DB::prepare() function, which improperly uses preg_replace() with the deprecated /e modifier to interpolate SQL query parameters. This vulnerability allows for the injection of user-controlled SQL statements, which could be exploited to execute arbitrary PHP code on the server.
Users are advised to upgrade to a version of Saurus CMS that does not use the deprecated /e modifier in preg_replace() and to sanitize SQL parameter inputs. Additionally, upgrading to PHP 7.0 or later is recommended.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 19, 2025CISA-ADP
Assessed Aug 19, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/rahulhoysala/security-research/blob/main/CVE-2025-50567.md | [email protected] | ExploitRemedyTechnical Analysis |
| https://in.linkedin.com/in/rahul-hoysala-221a26341 | [email protected] | Permission Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | CISA-ADP |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| Saurus CMS Community Edition | 4.7.1 (semver) |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 5, 2026 | CVE Modified | [email protected] |
| Jul 5, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 19, 2025 | New CVE Received | [email protected] |
| Aug 19, 2025 | CVE Modified | CISA-ADP |
Volerion