cve.bz

CVE-2021-3988

6.1 mediumEPSS 0.4%

Medium (6.1) in janeczku calibre-web. EPSS 0.4% chance of exploitation in the next 30 days. Fixed in calibreweb 0.6.15.

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.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
0.4% chance of exploitation in the next 30 days; higher than 31% of CVEs (scores of 2026-10-31)
CWE
CWE-79
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-r735-9gc6-2hvqPyPIcalibreweb<0.6.150.6.15
PYSEC-2026-1236PyPIcalibreweb<0.6.150.6.15

References

Check your stackJSON