CVE-2024-39123 json
Calibre-Web Cross Site Scripting (XSS)
published 2024-07-19 2 y ago modified 2026-07-07 4 mo ago also GHSA-j22r-3rf3-cv25 , PYSEC-2026-1230 , EUVD-2024-2369
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 23.1%
- EPSS 23.1% chance of exploitation in 30 days, percentile 97%
- public exploits
- 0
- none known
Summary
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.
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
23.07% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/pentesttoolscom/vulnerability-research/tree/master/CVE-2024-39123 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | calibreweb | >=0.6.0, <=0.6.21 |
no fix listed |
Affected products
- janeczku calibre-web
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/pentesttoolscom/vulnerability-research/tree/master/CVE-2024-39123
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-39123
advisory
-
github.com
/janeczku/calibre-web
package
-
pypi.org
/project/calibreweb
package
-
github.com
/advisories/GHSA-j22r-3rf3-cv25
advisory
Sources
- CVE List CVE-2024-39123
- GitHub Advisory GHSA-j22r-3rf3-cv25
- NVD CVE-2024-39123
- OSV PYSEC-2026-1230
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.