XSS in Janeczku Calibre-Web
CVE-2021-3988
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.004 (27.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 28th percentile — 27.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: +0.000
Affected products
- Janeczku Calibre-Web
- Janeczku Janeczku/calibre-Web — versions unspecified
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2021-3988?
- CVE-2021-3988 is a medium-severity vulnerability in Janeczku Calibre-Web, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2024-11-15.
- How severe is CVE-2021-3988?
- Medium severity. CVSS v3 base score is 6.1 out of 10.