{"id":"CVE-2024-39123","sourceIdentifier":"cve@mitre.org","published":"2024-07-19T20:15:07.797","lastModified":"2026-06-17T07:41:26.553","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":" En janeczku Calibre-Web 0.6.0 a 0.6.21, la función edit_book_comments es vulnerable a Cross Site Scripting (XSS) debido a una sanitización inadecuada realizada por la función clean_string. La vulnerabilidad surge de la forma en que la función clean_string maneja la sanitización de HTML."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","affectedData":[{"vendor":"janeczku","product":"calibre-web","defaultStatus":"unknown","cpes":["cpe:2.3:a:janeczku:calibre-web:*:*:*:*:*:*:*:*"],"versions":[{"version":"0.6.0","lessThanOrEqual":"0.6.21","versionType":"custom","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","baseScore":5.4,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.3,"impactScore":2.7}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-07-23T15:47:04.835629Z","id":"CVE-2024-39123","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","description":[{"lang":"en","value":"CWE-79"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:janeczku:calibre-web:*:*:*:*:*:*:*:*","versionStartIncluding":"0.6.0","versionEndIncluding":"0.6.21","matchCriteriaId":"94480F88-F928-41E1-8674-92970EDCC8F7"}]}]}],"references":[{"url":"https://github.com/pentesttoolscom/vulnerability-research/tree/master/CVE-2024-39123","source":"cve@mitre.org","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/pentesttoolscom/vulnerability-research/tree/master/CVE-2024-39123","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Third Party Advisory"]}]}