CVE-2025-52880
published medium CVSS 3.1 · 4.2Komga Vulnerable to Arbitrary Code Execution via Crafted EPUB File
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| gotson | — | komga>= 1.8.0, < 1.22.0 | Affected | Not stated | GitHub_M |
Description
Komga is a media server for comics, mangas, BDs, magazines and eBooks. A Cross-Site Scripting (XSS) vulnerability has been discovered in versions 1.8.0 through 1.21.3 when serving EPUB resources, either directly from the API, or when reading using the epub reader. The vulnerability lets an attacker perform actions on the victim's behalf. When targeting an admin user, this can be combined with controlling a server-side command to achieve arbitrary code execution. For this vulnerability to be exploited, a malicious EPUB file has to be present in a Komga library, and subsequently accessed in the Epub reader by an admin user. Version 1.22.0 contains a patch for the issue.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.2 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gotson | komga | >= 1.8.0, < 1.22.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-799 CWE-799: Improper Control of Interaction Frequency
References
2Provider assertions
2GitHub_M · cna
Komga Vulnerable to Arbitrary Code Execution via Crafted EPUB File
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5f9067926112514e3ec44ff45de34efb00ae1148445eb44e8608fdbc587ba14b
- Ingested
- 23 Sep 2026, 08:52:27 UTC
- Source record
- Official CVE record