calibreweb
Affected
- introduced
0, fixed0.6.15(ecosystem)
Fixed versions
0.6.15
Fix
- Fixed version
0.6.15pip install --upgrade calibreweb==0.6.15
Advisory
Also known as: CVE-2021-3988, GHSA-r735-9gc6-2hvq
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.
Medium Basis: CVSS v3 score 6.1, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
0, fixed 0.6.15 (ecosystem)0.6.15
0.6.15pip install --upgrade calibreweb==0.6.15Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0