CVE-2021-3988
Cross-site Scripting (XSS) - DOM in janeczku/calibre-web
6.1
MEDIUM
CVSS 3.1
EPSS 0.36%
描述
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.
如何修補 CVE-2021-3988
要修補 CVE-2021-3988,請將受影響套件升級到下列已修補版本。
- —升級至 0.6.15 或更新版本
- —升級至 0.6.15 或更新版本
CVE-2021-3988 正在被利用嗎?
低 — EPSS 為 0.4%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- from 0, < 0.6.15
- from 0, < 0.6.15
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |