Skip to main content

Emlog CVE-2025-61769

LOW
Cross-site Scripting (XSS) (CWE-79)
2025-10-06 security-advisories@github.com
2.1
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to Emlog upload feature
  2. Delivery
    Upload malicious SVG with embedded JS
  3. Exploit
    Victim opens/renders stored SVG
  4. Execution
    Script executes in victim browser
  5. Impact
    Hijack session or perform admin actions

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

Requires an authenticated account with access to Emlog's file upload functionality in version 2.5.22 or earlier (CPE indicates the 'pro' edition); prior to the fix, 'svg' was an accepted admin attachment type, so an uploaded .svg containing JavaScript is stored and served. Exploitation is further limited by required victim interaction (UI:P): the injected script runs only when a user/administrator opens or renders the malicious SVG. Limiting factors: valid authentication, a vulnerable unpatched version (pre-commit 052f9c4), and a victim viewing the file - it is not a zero-click or unauthenticated attack despite the PR:N in the supplied vector.

Impact

This is a low-priority issue, not a widespread emergency. The vendor CVSS 4.0 base score is only 2.1, consistent with a stored XSS whose impact is limited to the victim's browser context (VC:N/VI:N/VA:N but SC:L/SI:L on the subsequent system). EPSS is 0.28% (19th percentile), indicating very low predicted exploitation probability, and the CVE is NOT on CISA KEV, so there is no evidence of active exploitation - only publicly available exploit code exists. A key signal conflict must be flagged: the provided CVSS 4.0 vector contains PR:N (no privileges), yet the description explicitly states the flaw is reachable only by 'authenticated remote attackers' who can use the file upload functionality - these disagree, and PR:N appears to understate the real precondition; treat authentication as required and verify PR with the vendor/GHSA advisory. Exploitation also requires victim interaction (UI:P) to open/render the malicious SVG. Combined with the product's small real-world footprint, this is a genuine-but-minor finding suitable for routine patching, not emergency response.

Exploit ScenarioDerived

An attacker who already holds an authenticated account on an Emlog (Pro, ≤2.5.22) site uploads a crafted .svg file containing embedded JavaScript through the normal file upload feature. When an administrator or another user later opens or renders that SVG, the script executes in their browser session, enabling session/cookie theft or admin-panel actions. Publicly available exploit code exists, but there is no confirmed active exploitation.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 19, 2026

Stored cross-site scripting in Emlog through 2.5.22 allows an account with access to the file-upload functionality to upload an SVG containing JavaScript, which executes when a victim opens or renders the file. The issue is CWE-79 and is fixed by commit 052f9c4226b2c0014bcd857fec47677340b185b1, which removes 'svg' from Emlog's allowed admin attachment types. Publicly available exploit code exists, but EPSS is only 0.28% (19th percentile), there is no KEV confirmation of active exploitation, and the independent assessment rates this low priority.

RemediationAI

Apply the vendor fix referenced by GHSA-rrf5-pv68-gpjf and commit 052f9c4226b2c0014bcd857fec47677340b185b1; patch availability is confirmed by the vendor advisory, but a released patched version is not independently confirmed from the input. If immediate upgrade is not possible, remove 'svg' from the allowed upload extension list (the same change made by the commit), restrict upload privileges to trusted roles, and serve user-uploaded files with Content-Disposition: attachment and X-Content-Type-Options: nosniff so SVGs are downloaded rather than rendered inline. Sanitize or rasterize SVG uploads with a library that strips script and event handlers, or block SVG entirely; these controls can break legitimate vector-image workflows and may alter file previews. Add a restrictive CSP for uploaded-content origins as defense in depth, but test for breakage of admin UI features.

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

Emlog is a PHP-based website building system; the fix is in include/lib/option.php, where getAdminAttType() previously listed 'svg' as an allowed admin attachment type. SVG is an XML-based image format that can embed JavaScript and event handlers, so treating it as a safe upload type creates a stored XSS condition: the file is uploaded and later served or rendered in a context where the browser may execute embedded script. The CWE-79 classification fits the root cause, and the commit's simple removal of 'svg' from the allowlist shows that extension allowlisting was the relevant control. The CPE string cpe:2.3:a:emlog:emlog:*:*:*:*:pro:*:*:* indicates the Pro edition. The supplied CVSS 4.0 vector records PR:N with UI:P, while the independent assessment describes an account-based upload prerequisite and victim interaction; authentication requirements are therefore inconsistent across the available data, but exploitation is clearly not a zero-click unauthenticated attack in the assessed scenario.

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

Vendor (github) PRIMARY 2.1 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P
vuln.today AI 5.4 MEDIUM

Upload requires an authenticated low-privileged account (PR:L) and a victim must render the SVG (UI:R); stored XSS executes in the victim's browser context, changing scope (S:C) with limited C/I and no availability 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:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

DescriptionCVE.org

Emlog is an open source website building system. A cross-site scripting (XSS) vulnerability in emlog up to and including version 2.5.22 allows authenticated remote attackers to inject arbitrary web script or HTML via the file upload functionality. As an authenticated user it is possible to upload .svg file that contains JavaScript code that is later being executed. Commit 052f9c4226b2c0014bcd857fec47677340b185b1 fixes the issue.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Low
niche open-source blogging/CMS, limited mostly to small self-hosted sites
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 LOW
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Low

Priority Score

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

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

Affected Products (CPE)CVE.org

cpe:2.3:a:emlog:emlog:*:*:*:*:pro:*:*:*

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

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