Skip to main content
VulnerabilityPublished Updated

CVE-2024-39123: Calibre-Web · Cross-site Scripting

Affects Calibre-WebSource CVE Database V5

0

Not known to be exploited · 23% EPSS · CVSS 5.4 Medium.

Data as of 26 Oct 2026, 13:47 UTC

CVSS 3.1 base score
5.4Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
23.0% chance of exploitation in 30 days – higher than 97% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 19 Jul 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
GitHubjaneczku/Calibre-Webpkg:github/janeczku/Calibre-WebOther threatsAffected
  • >=0.6.0 <=0.6.21
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2024-39123, organizations should first monitor for and apply official patches or updates from the Calibre-Web project once they become available. In the interim, administrators can implement strict input validation and output encoding on the edit_book_comments feature to prevent malicious script injection. Employing a web application firewall (WAF) with rules targeting XSS payloads can provide additional protection. Restricting user permissions to the minimum necessary level reduces the attack surface, limiting who can add or edit comments. Educating users to avoid interacting with suspicious or untrusted content within the application can help mitigate user interaction requirements for exploitation. Regular security assessments and code reviews focusing on input sanitization functions like clean_string are recommended to identify and remediate similar vulnerabilities proactively. Finally, logging and monitoring user activities related to comment editing can help detect potential exploitation attempts early.

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.

References

Community reviews

Loading reviews…