CVE-2024-39123Janeczku Calibre-web
Medium 5.4
Follow: this CVE · Janeczku · Janeczku Calibre-web We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.4
- EPSS
- 2.1% probability of exploitation in 30 days · percentile 83
- Auth required
- Yes
- Published
- Jul 19, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
In janeczku Calibre-Web 0.6.0 to 0.6.21, the edit_book_comments function is vulnerable to Cross Site Scripting (XSS) due to improper sanitization performed by the clean_string function. The vulnerability arises from the way the clean_string function handles HTML sanitization.
What to do
- Apply the vendor's security update for Calibre-web.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | calibreweb |
≥ 0.6.0 ≤ 0.6.21 |
no fixed version | — |
| PyPI | calibreweb |
≥ 0.6.0 ≤ 0.6.21 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-j22r-3rf3-cv25, PYSEC-2026-1230). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| janeczku | calibre-web | ≥ 0.6.0 ≤ 0.6.21 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory