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.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | calibreweb | < 0.6.15 | 0.6.15 |
Verweise
- https://nvd.nist.gov/vuln/detail/CVE-2021-3988
- https://github.com/janeczku/calibre-web/commit/7ad419dc8c12180e842a82118f4866ac3d074bc5
- https://github.com/janeczku/calibre-web
- https://huntr.com/bounties/fa4c8fd1-7846-4dad-9112-2c07461f0609
- https://pypi.org/project/calibreweb
- https://github.com/advisories/GHSA-r735-9gc6-2hvq
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Schwäche (CWE)
CWE-79- Plattform
- Python (PyPI)
- Paket
calibreweb- Veröffentlicht
- 15.11.2024
- Aktualisiert
- 11.10.2026 13:18
Quellen und Lizenzen
OSV / GitHub Advisory Database - PYSEC-2026-1236 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-r735-9gc6-2hvq - CC BY 4.0
Schwachstellenhistorie: calibreweb
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 18
- Erste → letzte
- 01.2022 12.2025
- Ohne Fix
- 4
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Kritisch 4
- Hoch 4
- Mittel 9
- Niedrig 1
Veröffentlichungen pro Jahr
- 2022: 9
- 2023: 2
- 2024: 4
- 2025: 3
- 2026: 0
-
Cross-site Scripting (XSS) - DOM in janeczku/calibre-web dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.