PYSEC-2026-1236

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/calibreweb/PYSEC-2026-1236.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2026-1236
Aliases
Published
2026-07-07T14:34:44.701918Z
Modified
2026-07-07T17:47:24.660609975Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Cross-site Scripting (XSS) - DOM in janeczku/calibre-web
Details

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

Affected packages

PyPI / calibreweb

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.6.15

Affected versions

0.*
0.6.12
0.6.13
0.6.14

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/calibreweb/PYSEC-2026-1236.yaml"