CVE-2021-3988
Last modified
CVE-2021-3988 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 0.36% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Janeczku | Calibre-Web | < 0.6.15 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2021-3988?
How severe is CVE-2021-3988?
How do I fix CVE-2021-3988?
Are you affected by CVE-2021-3988?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
