We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-52880

Komga Vulnerable to Arbitrary Code Execution via Crafted EPUB File



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.

Reserved 2025-06-20 | Published 2025-06-24 | Updated 2025-06-24 | Assigner GitHub_M


MEDIUM: 4.2CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:N

Problem types

CWE-799: Improper Control of Interaction Frequency

Product status

>= 1.8.0, < 1.22.0
affected

References

github.com/.../komga/security/advisories/GHSA-m7mm-6jxp-2m4x

github.com/...ommit/5f9cc449b7846ed2066752c72c9ce7b20c3a85a7

cve.org (CVE-2025-52880)

nvd.nist.gov (CVE-2025-52880)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-52880

Support options

Helpdesk Chat, Email, Knowledgebase