← Vulnerability feed

Vulnerability record · CVE-2023-22952 · published 11 January 2023

CVE-2023-22952: SugarCRM EmailTemplates input validation flaw allows PHP code injection

Sugarcrm · Sugarcrm

SugarCRM before 12.0 Hotfix 91155 fails to validate input in EmailTemplates, letting a crafted request inject custom PHP code. Because the injected code runs on the server, this is a remote code execution flaw in a widely deployed CRM. The record does not list specific affected versions beyond the fix threshold.

8.8 CVSS 3.1 High CISA KEV since 2 Feb 2023 EPSS 80% · top 0.4% CWE-20 · Improper input validationCWE-94 · Code injection
8.8CVSS 3.1 base score
80%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
1Affected product versions listed by NVD
5References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

In SugarCRM before 12.0. Hotfix 91155, a crafted request can inject custom PHP code through the EmailTemplates because of missing input validation.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

critical priorityThe flaw is network-reachable remote code execution, listed in CISA KEV with a very high EPSS score and public exploit code, making active exploitation likely.

What it is

SugarCRM before 12.0 Hotfix 91155 fails to validate input in EmailTemplates, letting a crafted request inject custom PHP code. Because the injected code runs on the server, this is a remote code execution flaw in a widely deployed CRM. The record does not list specific affected versions beyond the fix threshold.

Impact

An attacker can execute arbitrary PHP on the SugarCRM server, leading to full compromise of the application and its data. This can enable webshell deployment, data theft, and lateral movement into connected systems.

Attack surface

The CVSS vector is network-reachable (AV:N) with low privileges required (PR:L) and no user interaction (UI:N), so an authenticated low-privileged user can reach the vulnerable EmailTemplates functionality. No details on the exact endpoint or request shape are provided in the record.

Exploitation

CVE-2023-22952 is listed in CISA KEV with a due date of 2023-02-23, and EPSS shows a 30-day probability of 0.80139 (99.6th percentile). Public exploit references are tagged Exploit, indicating working exploit code is available.

What to do

  • Apply the vendor fix by upgrading SugarCRM to 12.0 Hotfix 91155 or later per the vendor advisory.
  • If immediate patching is not possible, restrict access to the EmailTemplates functionality to trusted administrative users only.
  • Review and remove any unexpected PHP files or webshells in the SugarCRM web root and upload directories.
  • Rotate credentials and secrets that may have been exposed if compromise is suspected.
  • Monitor for and block exploit attempts targeting EmailTemplates endpoints at the WAF or reverse proxy.

Detection

  • Search web server and application logs for unusual POST requests to EmailTemplates endpoints, especially those containing PHP code or file-write patterns.
  • Monitor the SugarCRM web root and upload directories for newly created or modified PHP files.
  • Alert on unexpected outbound connections or process execution from the SugarCRM server.
  • Correlate authentication logs for low-privileged accounts accessing EmailTemplates administration features.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2023-22952 to the Known Exploited Vulnerabilities catalog on 2 February 2023 as "Multiple SugarCRM Products Remote Code Execution Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 23 February 2023.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2023-22952 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2004-1225Sugarcrm vulnerabilitySQL injection vulnerability in SugarCRM Sugar Sales before 2.0.1a allows remote attackers to execute arbitrary SQL commands and gain privileges via t…EPSS 1.8%9.8CVE-2020-7472Sugarcrm improper input validation vulnerabilityAn authorization bypass and PHP local-file-include vulnerability in the installation component of SugarCRM before 8.0, 8.0 before 8.0.7, 9.0 before 9…EPSS 3.2%9.8CVE-2012-0694SugarCRM CE PHP object injection via unserialize() allows RCESugarCRM Community Edition 6.3.1 and earlier passes user-controlled input to PHP's unserialize() in its scripts. This lets a remote attacker inject c…EPSS 67%analysed9.8CVE-2014-3244Sugarcrm xml external entity (xxe) vulnerabilityXML external entity (XXE) vulnerability in the RSSDashlet dashlet in SugarCRM before 6.5.17 allows remote attackers to read arbitrary files or potent…EPSS 5.0%9.8CVE-2018-6308Sugarcrm sql injection vulnerabilityMultiple SQL injections exist in SugarCRM Community Edition 6.5.26 and below via the track parameter to modules\Campaigns\Tracker.php and modules\Cam…EPSS 1.1%8.8CVE-2023-46815Sugarcrm unrestricted file upload vulnerabilityAn issue was discovered in SugarCRM 12 before 12.0.4 and 13 before 13.0.2. An Unrestricted File Upload vulnerability has been identified in the Notes…EPSS 0.55%8.8CVE-2023-46816Sugarcrm code injection vulnerabilityAn issue was discovered in SugarCRM 12 before 12.0.4 and 13 before 13.0.2. A Server Site Template Injection (SSTI) vulnerability has been identified …EPSS 0.60%8.8CVE-2023-35808Sugarcrm unrestricted file upload vulnerabilityAn issue was discovered in SugarCRM Enterprise before 11.0.6 and 12.x before 12.0.3. An Unrestricted File Upload vulnerability has been identified in…EPSS 1.3%

Source: NIST National Vulnerability Database (record CVE-2023-22952), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.