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

Configuration 1 (hide)

cpe:2.3:a:janeczku:calibre-web:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2024-11-15 11:15

Updated : 2024-11-19 15:43


NVD link : CVE-2021-3988

Mitre link : CVE-2021-3988

CVE.ORG link : CVE-2021-3988


JSON object : View

Products Affected

janeczku

  • calibre-web
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')