{"cve":"CVE-2024-39123","nvd":{"published":"2024-07-19T20:15:07.797","modified":"2026-06-17T07:41:26.553","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4},"cwes":["CWE-79"],"references":["https://github.com/pentesttoolscom/vulnerability-research/tree/master/CVE-2024-39123","https://github.com/pentesttoolscom/vulnerability-research/tree/master/CVE-2024-39123"],"products":["janeczku:calibre-web"],"source":"nvd","synced_at":"2026-10-19T21:52:42.518321223+00:00"},"epss":{"cve":"CVE-2024-39123","score":0.23069,"percentile":0.97759,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-j22r-3rf3-cv25","url":"https://osv.dev/vulnerability/GHSA-j22r-3rf3-cv25","summary":"Calibre-Web Cross Site Scripting (XSS)","modified":"2026-07-07T17:56:52.436754193Z","packages":[{"ecosystem":"PyPI","name":"calibreweb","purl":"pkg:pypi/calibreweb","ranges":[">=0.6.0 <=0.6.21"],"fixed":[]}]},{"id":"PYSEC-2026-1230","url":"https://osv.dev/vulnerability/PYSEC-2026-1230","summary":"Calibre-Web Cross Site Scripting (XSS)","modified":"2026-07-07T17:47:33.623366523Z","packages":[{"ecosystem":"PyPI","name":"calibreweb","purl":"pkg:pypi/calibreweb","ranges":[">=0.6.0 <=0.6.21"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}