Skip to main content

Energy CRM CVE-2025-40640

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-10-10 cve-coordination@incibe.es
5.1
CVSS 4.0 · Vendor: incibe
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privileged CRM user
  2. Delivery
    POST payload to create_invoice_submit.php via customerName_0
  3. Exploit
    Store malicious script in invoice record
  4. Execution
    Victim views crafted invoice
  5. Persist
    Script executes in victim browser
  6. Impact
    Steal 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (incibe) PRIMARY 5.1 MEDIUM
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
vuln.today AI 5.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (incibe).

CVSS VectorVendor: incibe

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

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

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Low
niche vendor-specific CRM, no broad enterprise deployment footprint
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:energycrm:energy_crm:2025:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy