CVE-2025-52880

Source
https://cve.org/CVERecord?id=CVE-2025-52880
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-52880.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-52880
Aliases
  • GHSA-m7mm-6jxp-2m4x
Published
2025-06-24T19:56:12.692Z
Modified
2026-04-02T12:52:49.202295Z
Severity
  • 4.2 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:N CVSS Calculator
Summary
Komga Vulnerable to Arbitrary Code Execution via Crafted EPUB File
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/52xxx/CVE-2025-52880.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-799"
    ]
}
References

Affected packages

Git / github.com/gotson/komga

Affected ranges

Type
GIT
Repo
https://github.com/gotson/komga
Events

Affected versions

1.*
1.10.0
1.10.1
1.10.2
1.10.3
1.10.4
1.11.0
1.11.1
1.11.2
1.11.3
1.12.0
1.12.1
1.13.0
1.14.0
1.14.1
1.15.0
1.15.1
1.16.0
1.17.0
1.18.0
1.19.0
1.19.1
1.20.0
1.21.0
1.21.1
1.21.2
1.21.3
1.8.0
1.8.1
1.8.2
1.8.3
1.8.4
1.9.0
1.9.1
1.9.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-52880.json"