Energy CRM
CVE-2025-40640
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged CRM user
-
DeliveryPOST payload to create_invoice_submit.php via customerName_0
-
ExploitStore malicious script in invoice record
-
ExecutionVictim views crafted invoice
-
PersistScript executes in victim browser
-
ImpactSteal session cookie / hijack session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated low-privileged account on Energy CRM v2025 (PR:L) able to reach the invoice-creation workflow and submit POST requests to /crm/create_invoice_submit.php. Exploitation is limited by the need for victim interaction (UI:P) - a second, typically higher-privileged user must view the stored payload in the invoice for the script to execute and session theft to occur. This is not an unauthenticated or default-configuration remote attack; it depends on having valid CRM credentials and on another user rendering the malicious invoice data. |
| Impact | This is a moderate, authentication-gated stored XSS with no evidence of real-world exploitation. The CVSS 4.0 vector (AV:N/AC:L/PR:L/UI:P) requires an authenticated low-privileged account to inject the payload and a victim to interact with the rendered content; impact is confined to the subsequent system (SC:L/SI:L) with no confidentiality/integrity/availability impact on the vulnerable system itself (VC:N/VI:N/VA:N), yielding a vendor score of 5.1 (medium). EPSS is low at 0.21% (10th percentile), there is no CISA KEV listing, and no public exploit is identified - all signals point to a low-priority, non-widespread issue rather than an active threat. The attack is practically limited because it needs an existing authenticated foothold plus victim interaction (likely a higher-privileged user viewing the crafted invoice), so exploitation is targeted and conditional rather than automatable or wormable. One minor tension: the description emphasizes cookie/session theft (a confidentiality-style outcome) while the 4.0 vector marks VC:N and places impact only on the subsequent system via SC:L/SI:L - consistent with XSS modeling but worth noting that session hijacking of a higher-privileged user is the realistic consequence. |
| Exploit ScenarioDerived | An authenticated low-privileged user of Energy CRM submits a POST request to /crm/create_invoice_submit.php with a malicious script payload in the customerName_0 parameter, which is stored without validation. When another authenticated user (e.g., staff or an administrator) later views the invoice, the script executes in their browser and exfiltrates their session cookie. No public proof-of-concept exploit is identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 01, 2026
Authenticated low-privileged users of Energy CRM v2025 can store XSS payloads through the invoice-creation workflow, which then execute when another CRM user views the manipulated invoice data. The assessed impact is moderate and authentication-gated, with scope change but limited confidentiality and integrity effects; EPSS is 0.21% (10th percentile), and no public exploit code or CISA KEV active exploitation was identified at time of analysis.
RemediationAI
No vendor-released patch identified at time of analysis; monitor the INCIBE advisory for a fixed release and upgrade once one is published. In the meantime, add server-side validation and context-aware output encoding for the customerName_0 invoice field and any other user-supplied fields rendered in CRM pages, and deploy a Content Security Policy that restricts script sources, accepting that strict CSP may require tuning for existing inline scripts. Set session cookies to HttpOnly, Secure, and SameSite to reduce the impact of successful session theft, noting that client-side JavaScript relying on cookie access may be affected. Restrict access to /crm/create_invoice_submit.php and invoice-review workflows to the minimum roles that require them, and monitor for suspicious invoice content, though tighter role restrictions can disrupt legitimate invoicing workflows.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This is a stored cross-site scripting issue (CWE-79) in a PHP-based CRM. The application accepts the customerName_0 parameter in a POST to /crm/create_invoice_submit.php without adequate server-side validation or output encoding, so the submitted value is persisted and later rendered in a user's browser. The affected CPE is cpe:2.3:a:energycrm:energy_crm:2025:*:*:*:*:*:*:*, and the vendor-reported CVSS 4.0 score is 5.1. The independent assessment rates it CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N, reflecting that a low-privileged authenticated account is needed and a second user must interact with the stored invoice content for script execution.
Know when Energy Crm gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Authenticated low-priv injection (PR:L) over the network with victim rendering required (UI:R); stored XSS crosses into the victim's browser context (S:C) with limited confidentiality/integrity impact and no availability impact.
Primary rating from Vendor (incibe).
CVSS VectorVendor: incibe
DescriptionCVE.org
Stored Cross-Site Scripting (XSS) vulnerability in Energy CRM v2025 by Status Tracker Ltd, consisting of a stored XSS due to lack of proper validation of user input by sending a POST request to “/crm/create_invoice_submit.php”, using the “customerName_0” parameter. This vulnerability could allow a remote user to send a specially crafted query to an authenticated user and steal their cookie session details.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Affected Products (CPE)CVE.org
More in Energy Crm
View allStored XSS in Energy CRM v2025 (by Status Tracker Ltd) enables session hijacking against authenticated users through uns
Stored cross-site scripting in Energy CRM v2025 allows an authenticated attacker holding a valid CRM account to inject a
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB