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.
Metrics
Affected Vendors & Products
References
History
Tue, 24 Jun 2025 20:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
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. | |
Title | Komga Vulnerable to Arbitrary Code Execution via Crafted EPUB File | |
Weaknesses | CWE-799 | |
References |
| |
Metrics |
cvssV3_1
|

Status: PUBLISHED
Assigner: GitHub_M
Published: 2025-06-24T19:56:12.692Z
Updated: 2025-06-24T20:09:48.364Z
Reserved: 2025-06-20T17:42:25.707Z
Link: CVE-2025-52880

Updated: 2025-06-24T20:09:45.180Z

Status : Awaiting Analysis
Published: 2025-06-24T20:15:26.373
Modified: 2025-06-26T18:58:14.280
Link: CVE-2025-52880

No data.