Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1yNzM1LTlnYzYtMmh2cc4ABBYj

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.

Permalink: https://github.com/advisories/GHSA-r735-9gc6-2hvq
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1yNzM1LTlnYzYtMmh2cc4ABBYj
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 6 days ago
Updated: 1 day ago


CVSS Score: 6.1
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Identifiers: GHSA-r735-9gc6-2hvq, CVE-2021-3988
References: Repository: https://github.com/janeczku/calibre-web
Blast Radius: 0.0

Affected Packages

pypi:calibreweb
Dependent packages: 0
Dependent repositories: 1
Downloads: 4,091 last month
Affected Version Ranges: < 0.6.15
Fixed in: 0.6.15
All affected versions: 0.6.12, 0.6.13, 0.6.14
All unaffected versions: 0.6.15, 0.6.16, 0.6.17, 0.6.18, 0.6.19, 0.6.20, 0.6.21, 0.6.22, 0.6.23, 0.6.24