Skip to main content

Emlog CVE-2025-61597

| EUVDEUVD-2025-33213 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-10-03 security-advisories@github.com
5.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Authenticate with mail-settings access
  2. Delivery
    Save malicious HTML in mail template field
  3. Exploit
    Admin opens settings page
  4. Execution
    JavaScript runs in admin session
  5. Impact
    Steal 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).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – 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)
v1 Mar 13, 2026 - 19:29 CVSS 7.6

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

emlog < 2.5.22

Affected Packages

euvd emlog fix: 2.5.22

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

NVD PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

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).

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 NVD.

CVSS VectorNVD

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

Lifecycle Timeline

6
Severity Changed
Oct 19, 2026 - 17:23 NVD
HIGH MEDIUM
CVSS changed
Oct 19, 2026 - 17:23 NVD
7.6 (HIGH) 5.4 (MEDIUM)
PoC Detected
Oct 20, 2025 - 17:50 vuln.today
Public exploit code
Patch released
Oct 20, 2025 - 17:50 nvd
Patch available
CVE Published
Oct 03, 2025 - 07:15 nvd
MEDIUM 5.4
CVE Published
Oct 03, 2025 - 07:15 nvd
HIGH 7.6

DescriptionNVD

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 91% exploitable
Prevalence
Low
niche open-source Chinese blogging CMS, minimal enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
5 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.0%
Patch available Yes
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
High

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
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.

More in Emlog

View all
CVE-2025-29401 CRITICAL POC
9.8 Mar 19

An arbitrary file upload vulnerability in the component /views/plugin.php of emlog pro v2.5.7 allows attackers to execut

CVE-2023-44974 CRITICAL POC
9.8 Oct 03

An arbitrary file upload vulnerability in the component /admin/plugin.php of Emlog Pro v2.2.0 allows attackers to execut

CVE-2023-44973 CRITICAL POC
9.8 Oct 03

An arbitrary file upload vulnerability in the component /content/templates/ of Emlog Pro v2.2.0 allows attackers to exec

CVE-2023-43291 CRITICAL POC
9.8 Sep 27

Deserialization of Untrusted Data in emlog pro v.2.1.15 and earlier allows a remote attacker to execute arbitrary code v

CVE-2021-40883 CRITICAL POC
9.8 Dec 14

A Remote Code Execution (RCE) vulnerability exists in emlog 5.3.1 via content/plugins. Rated critical severity (CVSS 9.8

CVE-2021-31737 CRITICAL POC
9.8 May 06

emlog v5.3.1 and emlog v6.0.0 have a Remote Code Execution vulnerability due to upload of database backup file in admin/

CVE-2019-16868 CRITICAL POC
9.8 Sep 25

emlog through 6.0.0beta has an arbitrary file deletion vulnerability via an admin/data.php?action=dell_all_bak request w

CVE-2025-61318 CRITICAL POC
9.1 Dec 08

Emlog Pro 2.5.20 has an arbitrary file deletion vulnerability. This vulnerability stems from the admin/template.php comp

CVE-2026-21430 CRITICAL POC
9.3 Jan 02

Emlog 2.5.23 is vulnerable to CSRF in article creation, which chains with stored XSS to achieve account takeover. An att

CVE-2026-22799 HIGH POC
8.8 Jan 12

Remote code execution in Emlog v2.6.1 and earlier allows authenticated attackers to upload arbitrary files through an in

CVE-2025-61930 HIGH POC
8.8 Oct 10

Cross-site request forgery in Emlog Pro 2.5.19 and earlier can lead to account takeover of a privileged administrator be

CVE-2021-30081 HIGH POC
8.8 May 24

An issue was discovered in emlog 6.0.0stable. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable

References

Advisories & patches

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