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 package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| janeczku calibre-web | from 0.6.0 up to 0.6.21 | CVE List, NVD |
| calibreweb (PyPI) | from 0.6.0 up to 0.6.21 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| CISA-ADP | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| GitHub | medium CVSS:4.0 | CVSS: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 Database | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| PyPA Advisory Database | Not scored CVSS:4.0 | CVSS: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
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
| https://github.com/pentesttoolscom/vulnerability-research/tree/master/CVE-2024-39123 | exploit, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-39123 | advisory | |
| https://github.com/janeczku/calibre-web | package | |
| https://pypi.org/project/calibreweb | package | |
| https://github.com/advisories/GHSA-j22r-3rf3-cv25 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-39123 changed 2024-08-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-j22r-3rf3-cv25 changed 2026-07-07 | CC-BY-4.0 |
| NVD | CVE-2024-39123 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-1230 changed 2026-07-07 | CC-BY-4.0 |