Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with mail-settings access
-
DeliverySave malicious HTML in mail template field
-
ExploitAdmin opens settings page
-
ExecutionJavaScript runs in admin session
-
ImpactSteal session/token for account takeover
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: (1) an authenticated account (PR:L) with the ability to save the mail/SMTP template settings on the Emlog admin backend (admin/views/setting_mail.php); (2) the injected payload persists, then (3) an administrator must subsequently load the mail settings page (UI:R) for the stored script to execute in their authenticated session. Limiting factors: it is not remote-unauthenticated - a valid login with access to the mail settings feature is needed, the victim admin must actively visit the vulnerable settings view, and it is confined to Emlog versions ≤2.5.21 (fixed in 2.5.22). No special non-default server configuration is required beyond the mail settings feature being used. |
| Impact | This is a moderate-severity stored XSS (CVSS 5.4, CWE-79) whose signals consistently point to LOW real-world urgency rather than a top priority. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N shows network reach and low complexity, but two meaningful brakes: PR:L (attacker must already be authenticated) and UI:R (an admin must subsequently visit the mail settings page for the payload to fire). EPSS is 0.03% (9th percentile), i.e. negligible modeled probability of widespread exploitation, and the CVE is NOT in CISA KEV, so there is no evidence of active exploitation. A public exploit does exist (GitHub Security Advisory GHSA-hj97-hp2c-6m4m), which raises feasibility but - per precision rules - POC availability is distinct from active exploitation. Signals are mutually consistent (low EPSS, no KEV, authenticated + user-interaction requirements), with no contradictions to flag. The one nuance worth verifying with the vendor: PR:L implies a lower-privileged authenticated account can plant the payload, yet mail/SMTP template settings are typically admin-only in Emlog; if only admins can reach that setting, the self-XSS angle reduces impact further and the practical threat is an admin-on-admin or CSRF-chained scenario. Net: real but low priority - patch in normal cycle, prioritize only if untrusted low-privilege accounts exist. |
| Exploit ScenarioDerived | An authenticated user with access to the mail template/SMTP settings saves a crafted HTML payload containing JavaScript; because input is stored and rendered unsanitized on the settings page, the script executes the next time an administrator opens that page. A public exploit exists (GHSA-hj97-hp2c-6m4m), and given AV:N/AC:L the attack is technically simple, but it depends on an admin actually revisiting the mail settings view (UI:R). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 19, 2026
Stored cross-site scripting in Emlog 2.5.21 and earlier allows an authenticated user with access to the mail template settings to persist attacker-controlled JavaScript, which then executes when an administrator later opens the mail settings page, potentially enabling session or token theft and admin account takeover. Exploitation requires a valid backend account with mail-settings access plus administrator interaction; publicly available exploit code exists, but EPSS is low at 0.03% (9th percentile) and there is no CISA KEV confirmation of active exploitation. The vendor addressed the issue in Emlog 2.5.22.
Earlier versions of this analysis (1)
RemediationAI
Vendor-released patch: Emlog 2.5.22. Upgrade affected installations to 2.5.22 or later and review the vendor advisory at https://github.com/emlog/emlog/security/advisories/GHSA-hj97-hp2c-6m4m together with PR #179 at https://github.com/emlog/emlog/pull/179. If an immediate upgrade is not possible, restrict access to the admin mail and SMTP settings page to trusted administrators only, avoid storing untrusted values in mail template fields, and consider temporarily disabling or limiting the mail settings feature; these measures reduce exposure but do not remove an already stored payload, and disabling mail settings may prevent legitimate mail configuration until the patch is applied. Because exploitation requires an authenticated account plus administrator interaction, enforce least privilege on backend accounts, review administrative users, and rotate sessions or credentials after any suspected exposure.
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
The issue is CWE-79 (improper neutralization of input during web page generation), specifically a stored XSS via HTML template injection in Emlog's admin mail template/SMTP settings. Values saved through the mail settings interface are stored and later rendered in an authenticated admin settings page without adequate output encoding, so a payload persists and runs in the administrator's browser context on a subsequent visit. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N confirms network reachability, low-privilege authenticated access, required user interaction, and scope change, with limited confidentiality and integrity impact and no availability impact. The supplied CPE data points to the Pro edition of Emlog (cpe:2.3:a:emlog:emlog:*:*:*:*:pro:*:*:*), while EUVD lists affected versions as Emlog < 2.5.22. The source diff for PR #179 shows hardening around the smtp_ssl mail setting, including addslashes() on POST input and dynamic SMTPSecure configuration, consistent with a fix in the 2.5.22 release.
Know when Emlog 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:L/UI:R/S:C/C:L/I:L/A:N
Authenticated attacker stores the payload (PR:L, AC:L), but a separate admin must view the page (UI:R); script runs in the victim's browser context (S:C) yielding token theft (C:L/I:L, A:N).
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
6DescriptionNVD
Emlog is an open source website building system. In versions 2.5.21 and below, an HTML template injection allows stored cross‑site scripting (XSS) via the mail template settings. Once a malicious payload is saved, any subsequent visit to the settings page in an authenticated admin context will execute attacker‑controlled JavaScript, enabling session/token theft and full admin account takeover. This issue is fixed in version 2.5.22.
Executive ViewAI
Organizations using Emlog face notable risk from CVE-2025-61597, a cross-site scripting vulnerability rated CVSS 7.6. Attackers could inject malicious scripts to steal user sessions, credentials, or perform actions on behalf of authenticated users. Proof-of-concept code is publicly available, increasing the risk of exploitation. A patch is available and should be applied as part of regular vulnerability management.
Apply vendor patch. If immediate patching is not feasible: (1) Implement Content-Security-Policy headers; (2) Enable HttpOnly and SameSite cookie attributes; (3) Deploy WAF XSS/CSRF rules.
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.
An arbitrary file upload vulnerability in the component /views/plugin.php of emlog pro v2.5.7 allows attackers to execut
An arbitrary file upload vulnerability in the component /admin/plugin.php of Emlog Pro v2.2.0 allows attackers to execut
An arbitrary file upload vulnerability in the component /content/templates/ of Emlog Pro v2.2.0 allows attackers to exec
Deserialization of Untrusted Data in emlog pro v.2.1.15 and earlier allows a remote attacker to execute arbitrary code v
A Remote Code Execution (RCE) vulnerability exists in emlog 5.3.1 via content/plugins. Rated critical severity (CVSS 9.8
emlog v5.3.1 and emlog v6.0.0 have a Remote Code Execution vulnerability due to upload of database backup file in admin/
emlog through 6.0.0beta has an arbitrary file deletion vulnerability via an admin/data.php?action=dell_all_bak request w
Emlog Pro 2.5.20 has an arbitrary file deletion vulnerability. This vulnerability stems from the admin/template.php comp
Emlog 2.5.23 is vulnerable to CSRF in article creation, which chains with stored XSS to achieve account takeover. An att
Remote code execution in Emlog v2.6.1 and earlier allows authenticated attackers to upload arbitrary files through an in
Cross-site request forgery in Emlog Pro 2.5.19 and earlier can lead to account takeover of a privileged administrator be
An issue was discovered in emlog 6.0.0stable. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable
EUVD-2025-33213
NVD
CVE.org
EPSS
GitHub
Exploit-DB