CVE-2023-40221 in Socomec Modulys Gp and 1 more product
The absence of filters when loading some sections in the web application of the vulnerable device allows potential attackers to inject malicious code that will be interpreted when a legitimate user accesses the web section (MAIL SERVER) where the information is displayed. Injection can be done on parame...
Affects 2 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Socomec | Modulys Gp (device and firmware) | 01.12.10 |
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
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
The absence of filters when loading some sections in the web application of the vulnerable device allows potential attackers to inject malicious code that will be interpreted when a legitimate user accesses the web section (MAIL SERVER) where the information is displayed. Injection can be done on parameter MAIL_RCV. When a legitimate user attempts to review NOTIFICATION/MAIL SERVER, the injected code will be executed.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-40221 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-343321-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Published | 2023-09-18 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-94: Code Injection
Attacker injects arbitrary code that is executed by the application process.
Related attack patterns (CAPEC)
CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-94
CAPEC-77 Manipulating User-Controlled Variables via CWE-94
CAPEC-242 Code Injection via CWE-94
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A critical vulnerability in the web application of a device allows attackers to inject malicious code through the MAIL_RCV parameter, which can be executed by legitimate users when they access the NOTIFICATION/MAIL SERVER section.
The absence of input validation and output encoding filters in the web application enables attackers to inject malicious scripts. This occurs when the MAIL_RCV parameter is manipulated, and the injected code is executed in the context of a legitimate user's session.
Questions
What is CVE-2023-40221?
A critical vulnerability in the web application of a device allows attackers to inject malicious code through the MAIL_RCV parameter, which can be executed by legitimate users when they access the NOTIFICATION/MAIL SERVER section.
What is the CVSS score for CVE-2023-40221?
CVE-2023-40221 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 0.9%.
Is CVE-2023-40221 actively exploited?
No confirmed active exploitation of CVE-2023-40221 as of 2026-09-25.
How do I remediate CVE-2023-40221?
Priority: IMMEDIATE. Advisory: https://www.cisa.gov/news-events/ics-advisories/icsa-23-250-03
What systems are affected by CVE-2023-40221?
CVE-2023-40221 affects Socomec Modulys Gp.
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":"Socomec","product":"Modulys Gp","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.