Emoncms
CVE-2025-60936
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain authenticated API access
-
DeliveryInject JavaScript via input handler
-
ExploitPayload stored in application logs
-
ExecutionAdmin views logs, script executes
-
ImpactHijack admin session / act as admin
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 possess a valid Emoncms account with API access and to submit a crafted payload through the application's input-handling mechanism, which is then stored and rendered in the application logs. The payload executes only as a second step when an administrator opens the application logs view (admin user interaction is mandatory, UI:R) - it does not fire automatically. Limiting factors: a pre-existing authenticated API-capable account is needed (per the description, despite the PR:N in the supplied vector), a privileged admin must actually view the logs, and the affected version is specifically Emoncms 11.7.3; no fixed version is stated in the available data. |
| Impact | This is a moderate-severity stored/reflected cross-site scripting issue (CWE-79) carrying a CVSS 6.1 rating, and the aggregate signals point to a real-but-not-urgent problem rather than a top-priority emergency. The EPSS score is low (0.19%, 9th percentile), it is NOT listed in CISA KEV, and the only exploit artifact is an unverified reference (a GitHub issue), so there is no evidence of active exploitation. The vuln.today decision label is 'this_month', consistent with a patch-on-normal-cadence item. There is a material data conflict that defenders must resolve: the supplied CVSS vector is PR:N (which per scoring convention implies no privileges/unauthenticated), yet the CVE description explicitly states the attacker must be an 'authenticated attacker with API access.' These disagree - treat the description as the operative constraint and verify privilege requirements with the vendor/NVD before relying on the PR:N score. The attack also requires administrator user interaction (UI:R): the injected payload only fires when an admin views the application logs, which bounds the blast radius to privileged victims and makes mass, opportunistic exploitation unlikely. |
| Exploit ScenarioDerived | An attacker who already holds a valid Emoncms account with API access submits input containing malicious JavaScript through the vulnerable input-handling mechanism; the payload is stored and later rendered unsanitized in the application logs. When an administrator subsequently opens the logs view, the script executes in the admin's authenticated browser session, enabling session/credential theft or admin-context actions. A public PoC reference exists (GitHub issue #1940); it is not verified as working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
Stored cross-site scripting in Emoncms 11.7.3 allows a user holding a valid account with API access to inject JavaScript that is persisted through the application's input-handling mechanism and later executes in an administrator's browser when the application logs are viewed. Exploitation is a two-step chain: the payload is planted first and only fires when a privileged administrator opens the log view, so admin interaction is mandatory (UI:R) and the assessed vector rates the required privileges as low (PR:L), matching the description's authenticated-API-access precondition rather than the PR:N shown in the originally published vector. Impact is bounded to script execution in the admin session (scope change with low confidentiality and integrity effects, no availability impact) at CVSS 6.1; EPSS is 0.19% (9th percentile), a public PoC reference exists in the upstream issue tracker but is not verified as working exploit code, there is no KEV listing, and the vuln.today priority label is this_month rather than emergency.
RemediationAI
No vendor-released patch or fixed version is identified in the available data: there is no advisory listing a corrected Emoncms release, and the sole reference is the upstream issue at https://github.com/emoncms/emoncms/issues/1940, which should be tracked for a fix commit or new tagged version before upgrading. Until a patched release is published, compensating controls must be applied around the two prerequisites the exploit chain requires. First, constrain API access: issue API credentials only to trusted accounts and revoke or rotate keys for accounts that no longer need programmatic access, since the assessor's conditions make an API-capable account the entry point; the trade-off is reduced automation for monitoring integrations that rely on those keys. Second, limit exposure of the vulnerable log view by restricting administrative log access to a small set of trusted operators and, where the deployment allows, reviewing logs outside the web UI; the trade-off is slower incident triage for administrators who rely on the in-app log page. Given the this_month priority label rather than act_now, these measures plus monitoring the upstream issue are proportionate for the 11.7.3 deployment base.
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
The flaw is a CWE-79 cross-site scripting weakness in Emoncms, the open-source energy monitoring web application from OpenEnergyMonitor. Per the description, the defect sits in the input-handling path reachable by API-enabled accounts: attacker-supplied content is not neutralized before it is stored and rendered by the administrative log view, so script embedded in the logged data runs in the context of the administrator's session against the Emoncms origin. The supplied CPE (cpe:2.3:a:openenergymonitor:emoncms:11.7.3) scopes the issue specifically to release 11.7.3; the underlying sources do not describe the exact parsing or escaping routine at fault, so the precise trigger within the input handler is not described in the available sources, and it is not established whether other branches or earlier releases share the same code path. Because execution is deferred to an admin page view, successful exploitation depends on a stored payload plus a privileged session visiting the logs - a combination that raises reliability requirements for an attacker beyond a simple reflected XSS. The public reference is the upstream GitHub issue (emoncms/emoncms#1940), which is a bug report rather than confirmed working exploit code.
Know when Emoncms 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
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Description requires an authenticated API-access account so PR:L (not PR:N); admin must view logs for the payload to fire (UI:R), and XSS executing in the admin context crosses a trust boundary (S:C) with limited C/I impact.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
Emoncms 11.7.3 is vulnerable to Cross Site in the input handling mechanism. This vulnerability allows authenticated attackers with API access to inject malicious JavaScript code that executes when administrators view the application logs.
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
Authenticated remote code execution in Emoncms 11.7.3 lets a user who already holds a valid session with access to the a
An issue was discovered in Emoncms through 9.8.0. Rated medium severity (CVSS 6.1), this vulnerability is remotely explo
Modules/input/Views/schedule.php in Emoncms through 10.2.7 allows XSS via the node parameter. Rated medium severity (CVS
OpenEnergyMonitor Project Emoncms 9.8.8 is affected by: Cross Site Scripting (XSS). Rated medium severity (CVSS 5.4), th
emoncms v11 and later was discovered to contain an information disclosure vulnerability which allows attackers to obtain
A SQL Injection vulnerability exists in the /feed/insert.json endpoint of the Emoncms project >= 11.6.9. Rated critical
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB