CVE-2021-3988 – calibreweb
Package
Manager: pip
Name: calibreweb
Vulnerable Version: >=0 <0.6.15
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
EPSS: 0.00084 pctl0.25277
Details
Cross-site Scripting (XSS) - DOM in janeczku/calibre-web 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.
Metadata
Created: 2024-11-15T12:31:44Z
Modified: 2024-11-19T20:47:47Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/11/GHSA-r735-9gc6-2hvq/GHSA-r735-9gc6-2hvq.json
CWE IDs: ["CWE-79"]
Alternative ID: GHSA-r735-9gc6-2hvq
Finding: F008
Auto approve: 1