ADVISORIES

PyPA Advisory Database

PYSEC-2026-1230

Calibre-Web Cross Site Scripting (XSS)

Details

In janeczku Calibre-Web 0.6.0 to 0.6.21, the edit_book_comments function is vulnerable to Cross Site Scripting (XSS) due to improper sanitization performed by the clean_string function. The vulnerability arises from the way the clean_string function handles HTML sanitization.

Affected packages

EcosystemPackageAffected versions
PyPIcalibreweb
From 0.6.0 up to and including 0.6.21

References