Skip to main content

Emoncms CVE-2025-60936

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-10-24 cve@mitre.org
6.1
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Access
    Obtain authenticated API access
  2. Delivery
    Inject JavaScript via input handler
  3. Exploit
    Payload stored in application logs
  4. Execution
    Admin views logs, script executes
  5. Impact
    Hijack 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.

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

Vendor (mitre) PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

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.

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:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Low
niche open-source energy-monitoring platform, limited enterprise footprint
Exploit
POC
Public exploit code exists
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 Yes
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
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: +20
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:openenergymonitor:emoncms:11.7.3:*:*:*:*:*:*:*

References

Advisories & patches

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