CVE-2024-39123
JSON

5.4medium

Calibre-Web Cross Site Scripting (XSS)

Severity
5.4medium CVSS:3.1 by CISA-ADP
Exploit likelihood
34.1% (higher than 98% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-j22r-3rf3-cv25PYSEC-2026-1230

Description

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

Product or packageVersionsReported by
Unspecified productn/aCVE List
janeczku calibre-webfrom 0.6.0 up to 0.6.21CVE List, NVD
calibreweb (PyPI)from 0.6.0 up to 0.6.21GitHub Advisory Database, PyPA Advisory Database

All scores

CISA-ADP5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
GitHub5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
PyPA Advisory Database5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En janeczku Calibre-Web 0.6.0 a 0.6.21, la función edit_book_comments es vulnerable a Cross Site Scripting (XSS) debido a una sanitización inadecuada realizada por la función clean_string. La vulnerabilidad surge de la forma en que la función clean_string maneja la sanitización de HTML.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-39123 changed 2024-08-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-j22r-3rf3-cv25 changed 2026-07-07CC-BY-4.0
NVDCVE-2024-39123 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-1230 changed 2026-07-07CC-BY-4.0