NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2021-3988: Cross-site Scripting (XSS) - DOM in janeczku/calibre-web

mediumCVSS 3.1 6.1GHSA-r735-9gc6-2hvq

A Cross-site Scripting (XSS) vulnerability exists in janeczku/calibre-web, specifically in the file editbooks.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.

Published Nov 15, 2024 · Updated Nov 19, 2024

Affected packages

calibreweb

Ecosystem
PyPI
Affected
< 0.6.15
Fixed in
0.6.15
Check
pip show calibreweb

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries