Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. calibreweb
  4. ›
  5. CVE-2024-39123

CVE-2024-39123: Calibre-Web Cross Site Scripting (XSS)

July 19, 2024

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

  • github.com/advisories/GHSA-j22r-3rf3-cv25
  • github.com/janeczku/calibre-web
  • github.com/pentesttoolscom/vulnerability-research/tree/master/CVE-2024-39123
  • nvd.nist.gov/vuln/detail/CVE-2024-39123

Code Behaviors & Features

Detect and mitigate CVE-2024-39123 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.6.0 up to 0.6.21

Solution

Unfortunately, there is no solution available yet.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

pypi/calibreweb/CVE-2024-39123.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:18 +0000.