BreachSpiderVerified, not vibes

CVE-2023-22952 in Sugarcrm

Known-exploited (CISA) since 2023-02-02 High 8.8

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

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.8
EPSS32.8%
EPSS percentile99th
FixUnknown

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Sugarcrm Sugarcrm ≥ 11.0.0, < 11.0.5 ≥ 12.0.0, < 12.0.2

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedYes added 2023-02-02
Public exploitNot confirmed

Official description

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2023-22952
BreachSpider IDBS-2023-GLOBAL-329026-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2023-01-11
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-20: Improper Input Validation

Software does not validate or incorrectly validates input, allowing attackers to craft data processed in unintended ways.

CWE-94: Code Injection

Attacker injects arbitrary code that is executed by the application process.

Related attack patterns (CAPEC)

CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters via CWE-20

CAPEC-7 Blind SQL Injection via CWE-20

CAPEC-8 Buffer Overflow in an API Call via CWE-20

CAPEC-9 Buffer Overflow in Local Command-Line Utilities via CWE-20

CAPEC-10 Buffer Overflow via Environment Variables via CWE-20

Show all 54

CAPEC-13 Subverting Environment Variable Values via CWE-20

CAPEC-14 Client-side Injection-induced Buffer Overflow via CWE-20

CAPEC-24 Filter Failure through Buffer Overflow via CWE-20

CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies via CWE-20

CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-94

CAPEC-42 MIME Conversion via CWE-20

CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-20

CAPEC-45 Buffer Overflow via Symbolic Links via CWE-20

CAPEC-46 Overflow Variables and Tags via CWE-20

CAPEC-47 Buffer Overflow via Parameter Expansion via CWE-20

CAPEC-52 Embedding NULL Bytes via CWE-20

CAPEC-53 Postfix, Null Terminate, and Backslash via CWE-20

CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-20

CAPEC-67 String Format Overflow in syslog() via CWE-20

CAPEC-71 Using Unicode Encoding to Bypass Validation Logic via CWE-20

CAPEC-72 URL Encoding via CWE-20

CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-20

CAPEC-79 Using Slashes in Alternate Encoding via CWE-20

CAPEC-80 Using UTF-8 Encoding to Bypass Validation Logic via CWE-20

CAPEC-81 Web Server Logs Tampering via CWE-20

CAPEC-83 XPath Injection via CWE-20

CAPEC-85 AJAX Footprinting via CWE-20

CAPEC-101 Server Side Include (SSI) Injection via CWE-20

CAPEC-108 Command Line Execution through SQL Injection via CWE-20

CAPEC-109 Object Relational Mapping Injection via CWE-20

CAPEC-110 SQL Injection through SOAP Parameter Tampering via CWE-20

CAPEC-120 Double Encoding via CWE-20

CAPEC-209 XSS Using MIME Type Mismatch via CWE-20

CAPEC-261 Fuzzing for garnering other adjacent user/sensitive data via CWE-20

CAPEC-588 DOM-Based XSS via CWE-20

CAPEC-23 File Content Injection via CWE-20

CAPEC-63 Cross-Site Scripting (XSS) via CWE-20

CAPEC-73 User-Controlled Filename via CWE-20

CAPEC-77 Manipulating User-Controlled Variables via CWE-94

CAPEC-88 OS Command Injection via CWE-20

CAPEC-104 Cross Zone Scripting via CWE-20

CAPEC-135 Format String Injection via CWE-20

CAPEC-136 LDAP Injection via CWE-20

CAPEC-182 Flash Injection via CWE-20

CAPEC-230 Serialized Data with Nested Payloads via CWE-20

CAPEC-231 Oversized Serialized Data Payloads via CWE-20

CAPEC-250 XML Injection via CWE-20

CAPEC-267 Leverage Alternate Encoding via CWE-20

CAPEC-473 Signature Spoof via CWE-20

CAPEC-664 Server Side Request Forgery via CWE-20

CAPEC-22 Exploiting Trust in Client via CWE-20

CAPEC-28 Fuzzing via CWE-20

CAPEC-153 Input Data Manipulation via CWE-20

CAPEC-242 Code Injection via CWE-94

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

The CVE-2023-22952 vulnerability in SugarCRM versions prior to 12.0 with Hotfix 91155 allows an attacker to inject custom PHP code through the EmailTemplates module due to insufficient input validation. This can lead to remote code execution, potentially compromising the entire system. The CVSS score of 8.8 indicates a high severity, and the EPSS score of 0.92822 places it in the top 1% of vulnerabilities likely to be exploited. Immediate action is required to mitigate this risk, especially in ICS/OT environments where such vulnerabilities can have severe safety and operational impacts.

The vulnerability can be exploited by sending a crafted HTTP request to the EmailTemplates module of SugarCRM. The lack of proper input validation allows an attacker to inject malicious PHP code, which can then be executed on the server. This can result in full control over the application and underlying system, leading to data theft, service disruption, and potential lateral movement within the network.

Compensating controls AI-drafted, review before use

Implement strict input validation and sanitization for all user inputs in the EmailTemplates module. Additionally, ensure that the web application firewall (WAF) is configured to block suspicious requests containing known malicious patterns.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Questions

What is CVE-2023-22952?

The CVE-2023-22952 vulnerability in SugarCRM versions prior to 12.0 with Hotfix 91155 allows an attacker to inject custom PHP code through the EmailTemplates module due to insufficient input validation. This can lead to remote code execution, potentially compromising the entire system. The CVSS score of 8.8 indicates a high severity, and the EPSS score of 0.92822 places it in the top 1% of vulnerabilities likely to be exploited. Immediate action is required to mitigate this risk, especially in I

What is the CVSS score for CVE-2023-22952?

CVE-2023-22952 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 32.8%.

Is CVE-2023-22952 actively exploited?

Yes. CVE-2023-22952 is in the CISA known-exploited catalog (added 2023-02-02). Active exploitation confirmed. Immediate patching required.

How do I remediate CVE-2023-22952?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2023-22952?

CVE-2023-22952 affects Sugarcrm Sugarcrm.

What NERC-CIP standard applies to CVE-2023-22952?

NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 as it allows unauthorized access to the system through a web application, which could compromise the security of the electronic security perimeter.

What IEC 62443 requirement maps to CVE-2023-22952?

IEC 62443 SR 7.6: This CVE maps to SR 7.6 as it involves a vulnerability in the software that could allow an attacker to execute arbitrary code, which is a critical security concern in ICS/OT environments.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Sugarcrm","product":"Sugarcrm","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.