{"id":"CVE-2024-39123","aliases":["GHSA-j22r-3rf3-cv25","PYSEC-2026-1230"],"url":"https://o3.security/vulnerability/CVE-2024-39123","summary":"Calibre-Web Cross Site Scripting (XSS)","details":"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":"2024-07-19T00:00:00Z","modified":"2026-08-12T03:51:30.669000951Z","cvss":{"score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"calibreweb","fixedVersion":null}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/pentesttoolscom/vulnerability-research/tree/master/CVE-2024-39123"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39123.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39123"},{"type":"PACKAGE","url":"https://github.com/janeczku/calibre-web"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:30.669000951Z"}}