{"id":"CVE-2024-39123","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.","aliases":["GHSA-j22r-3rf3-cv25"],"modified":"2026-04-10T05:13:32.949390Z","published":"2024-07-19T20:15:07.797Z","references":[{"type":"EVIDENCE","url":"https://github.com/pentesttoolscom/vulnerability-research/tree/master/CVE-2024-39123"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/janeczku/calibre-web","events":[{"introduced":"d81cb2927abcba3c4d198ecce9dca78550f676e1"},{"last_affected":"c45188beb22adc5416bb8fd73fa23bf5270f7759"}],"database_specific":{"versions":[{"introduced":"0.6.0"},{"last_affected":"0.6.21"}]}}],"versions":["0.6.0","0.6.10","0.6.11","0.6.12","0.6.13","0.6.14","0.6.15","0.6.16","0.6.17","0.6.18","0.6.19","0.6.2","0.6.20","0.6.21","0.6.3","0.6.5","0.6.6","0.6.7","0.6.8","0.6.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-39123.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}