CVE-2021-3988

MEDIUM

calibre-web < 0.6.15 - Stored Cross-Site Scripting in Book Edit Function via Cover Upload

Title source: llm
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.0036
EPSS Percentile 27.4%
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