CVE-2024-39123
MEDIUM 5.4CVSS 3.1Calibre-Web Cross Site Scripting (XSS)
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.
- Published
- 19 Jul 2024
- Last modified
- 7 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-j22r-3rf3-cv25PYSEC-2026-1230
- Sources
- NVDJSONOSV GHSA-j22r-3rf3-cv25JSONOSV PYSEC-2026-1230JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | 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 | |
| OSV | PyPA | 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 | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | janeczku | calibre-webcpe:2.3:a:janeczku:calibre-web:*:*:*:*:*:*:*:* |
>= 0.6.0, <= 0.6.21 | |
| OSV | PyPI | calibreweb | >= 0.6.0, <= 0.6.21 |
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
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 19 Jul 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 19 Jul 2024)