VDB
Sign up
MEDIUM5.4

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/calibreweb
Introduced in: 0.6.0

No fixed version published yet for calibreweb (pip). Pin to a known-safe version or switch to an alternative.

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:pypi/calibreweb"]}'