CVE-2021-3988 - CVE House
Back to Database
Status published Medium CVE-2021-3988

Cross-site Scripting (XSS) in janeczku/calibre-web

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2021-3988

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

janeczku/calibre-web
Vulnerable Versions:
unspecified

Timeline

Official Publish: November 15th, 2024
Last Modified: November 20th, 2024
Added to House: July 21st, 2026

CVSS Vectors

V3: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

Weaknesses (CWE)