Live threats

All CVEs / Janeczku

CVE-2021-3988Janeczku Calibre-web

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.4%
probability of exploitation in 30 days · percentile 24
Auth required
No
Published
Nov 15, 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:N/UI:R/S:C/C:L/I:L/A:N

What happens

A Cross-site Scripting (XSS) vulnerability exists in janeczku/calibre-web, specifically in the file `edit_books.js`. The vulnerability occurs when editing book properties, such as uploading a cover or a format. The affected code directly inserts user input into the DOM without proper sanitization, allowing attackers to execute arbitrary JavaScript code. This can lead to various attacks, including stealing cookies. The issue is present in the code handling the `#btn-upload-cover` change event.

Original NVD text.

What to do

  1. Apply the vendor's security update for Calibre-web.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI calibreweb < 0.6.15 0.6.15 pip install "calibreweb>=0.6.15"
PyPI calibreweb < 0.6.15 0.6.15 pip install "calibreweb>=0.6.15"

Per OSV / GitHub Advisories (GHSA-r735-9gc6-2hvq, PYSEC-2026-1236). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
janeczkucalibre-web< 0.6.15

Official sources

References

Links published by the sources. Open them with care.