CVE-2021-3988

MEDIUM

Janeczku Calibre-web < 0.6.15 - XSS

Title source: rule
STIX 2.1

Description

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.

Scores

CVSS v3 6.1
EPSS 0.0024
EPSS Percentile 46.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-79
Status published
Products (2)
janeczku/calibre-web < 0.6.15
pypi/calibreweb 0 - 0.6.15PyPI
Published Nov 15, 2024
Tracked Since Feb 18, 2026