CVE-2021-3988
- Reference to the description:
- 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.
- Last updated date:
- 11/19/2024
- Type:
- exploit
- Confidence:
- HIGH
- Date of publishing:
- 11/19/2024
- Reference url to background
https://huntr.com/bounties/fa4c8fd1-7846-4dad-9112-2c07461f0609