SCA: security update for calibreweb (GHSA-r735-9gc6-2hvq)

medium Tenable Cloud Security Plugin ID 418554

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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)

See Also

https://github.com/advisories/GHSA-r735-9gc6-2hvq

Plugin Details

Severity: Medium

ID: 418554

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.14

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2021-3988

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/15/2024

Vulnerability Publication Date: 11/15/2024

Reference Information

CVE: CVE-2021-3988

cwe: CWE-79