CVE-2021-3988

Medium

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.

SeverityMedium
CVSS6.1
Exploit probability—
ProductJaneczku Calibre-web
PublishedNov 15, 2024
First seenNov 15, 2024

How to fix

Update
  • janeczku calibre-web0.6.15 or later
  • calibreweb0.6.15 or later

Affected products

ProductAffected versionsFixed in
janeczku calibre-webv < 0.6.150.6.15
calibrewebPyPIv < 0.6.150.6.15

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.