Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin credentials via phishing or reuse
-
DeliveryAuthenticate to MyEMS Admin Backend
-
ExploitSubmit crafted SVG payload via on_post endpoint
-
ExecutionPayload stored server-side in SVG data field
-
PersistSecond admin views affected SVG content
-
ImpactInjected JavaScript executes in victim browser
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 | Exploitation requires the attacker to hold a high-privileged (administrator-level) account on the MyEMS Admin Backend - the CVSS PR:H metric confirms this. A second condition is that another administrator (UI:P) must subsequently view the injected SVG content within the admin interface for the XSS payload to execute. Non-admin user accounts are not sufficient to inject the payload. The vulnerability is specific to the SVG data handling endpoint ( |
| Impact | The CVSS 4.0 base score of 1.9 (vector: AV:N/AC:L/AT:N/PR:H/UI:P) accurately reflects the constrained exploitability of this issue. The PR:H metric confirms that a threat actor must already hold administrator credentials before exploiting this flaw - significantly limiting the attack surface to insider threats, compromised admin accounts, or privilege-escalation chains. UI:P further requires that a second administrator view the injected content, adding another friction point. Impact is bounded to VI:L (low integrity on the vulnerable system), with no confidentiality or availability effect at the system level in the 4.0 model. The E:P threat metric acknowledges the publicly available exploit (GitHub issue #412), slightly elevating the real-world concern above a purely theoretical flaw. No CISA KEV listing exists, and no EPSS data was provided, but the high-privilege prerequisite and the niche deployment footprint of an energy management system make broad opportunistic exploitation implausible. This is best categorized as a low-priority, low-urgency vulnerability for most organizations, warranting patching on a normal maintenance cycle rather than emergency response. |
| Exploit ScenarioDerived | An authenticated administrator with access to the MyEMS Admin Backend submits a crafted SVG payload containing embedded JavaScript via the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 10, 2026
Stored cross-site scripting in MyEMS up to 6.4.0 allows a high-privileged attacker to inject malicious script via the new_values['data'] argument in the on_post function of myems-api/core/svg.py within the Admin Backend, which then executes in a victim administrator's browser upon viewing the affected SVG content. The CVSS 4.0 score of 1.9 reflects the limited real-world impact: exploitation requires existing administrative access and victim interaction, constraining this to a privilege-abuse scenario rather than an external intrusion vector. A public proof-of-concept exists via GitHub issue #412, and a vendor-released patch is available in version 6.5.0.
RemediationAI
Upgrade MyEMS to version 6.5.0, which contains the official fix applied in commit 4a97edfbd786c779d0322054833b21ddf54d5b06. The release is available at https://github.com/MyEMS/myems/releases/tag/v6.5.0 and the specific patch diff can be reviewed at https://github.com/MyEMS/myems/commit/4a97edfbd786c779d0322054833b21ddf54d5b06. If an immediate upgrade is not possible, restrict access to the Admin Backend to a minimal set of trusted administrators using network-layer controls (firewall rules or VPN enforcement), reducing the pool of accounts that could be abused to inject payloads. Additionally, enforce Content Security Policy (CSP) headers on the admin interface to limit the impact of any injected scripts by blocking inline script execution - note that this is a compensating control, not a fix, and may break legitimate admin UI functionality if not carefully tuned. The GitHub issue (#412) remains open per the reporter despite the vendor fix, so operators should verify patch application by confirming the running version is 6.5.0 or later.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
MyEMS is an open-source energy management system (EMS) built on a Python-based REST API backend. The vulnerability resides in the on_post method of myems-api/core/svg.py, which handles SVG data submitted through the Admin Backend interface. SVG is an XML-based vector format that natively supports embedded JavaScript and event handlers; insufficient sanitization of user-supplied SVG content (the new_values['data'] parameter) before storage or rendering constitutes a classic CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-site Scripting) flaw. The affected CPE is cpe:2.3:a:n/a:myems:*:*:*:*:*:*:*:*, covering all MyEMS releases through 6.4.0. Because SVG payloads are interpreted by the browser's XML/HTML renderer, malicious content stored via this endpoint can execute arbitrary JavaScript in the context of any administrator who subsequently views the injected content.
Know when Myems 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:H/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
Admin credentials required (PR:H), victim must view content (UI:R), XSS crosses into victim browser session (S:C) with low confidentiality and integrity impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was found in MyEMS up to 6.4.0. The affected element is the function on_post of the file myems-api/core/svg.py of the component Admin Backend. The manipulation of the argument new_values['data'] results in cross site scripting. The attack can be launched remotely. The exploit has been made public and could be used. Upgrading to version 6.5.0 is sufficient to fix this issue. The patch is identified as 4a97edfbd786c779d0322054833b21ddf54d5b06. It is suggested to upgrade the affected component. The issue report remains open even though there is an official fix for it.
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.
EUVD-2026-42780
GHSA-4qw7-r7cw-fwf5
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB