{"id":"CVE-2021-4170","published":"2022-01-16T20:55:10Z","modified":"2024-08-03T17:16:04Z","title":"Cross-site Scripting (XSS) - Stored in janeczku/calibre-web","vendor":"janeczku","product":"janeczku/calibre-web","tier":"tail","description":{"text":"calibre-web is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00836,"percentile":0.5861,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://huntr.dev/bounties/ff395101-e392-401d-ab4f-579c63fbf6a0","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/janeczku/calibre-web/commit/7ad419dc8c12180e842a82118f4866ac3d074bc5","tags":["x_refsource_MISC"]}],"priority":{"score":16.8,"factors":[{"name":"EPSS percentile","points":11.72},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"janeczku","affectedVersions":[{"vendor":"janeczku","product":"janeczku/calibre-web","versions":[">= unspecified, < 0.6.15"]}],"affected":[{"ecosystem":"PyPI","package":"calibreweb","vulnerableRanges":["<0.6.15"],"patched":["0.6.15"],"from":["GHSA-wrp6-9w7f-3wxg","PYSEC-2026-620"],"provenance":"source"}],"summary":{"text":"A stored cross-site scripting flaw exists in the janeczku/calibre-web product, caused by improper neutralization of input during web page generation. An attacker with low-privilege authenticated access can plant script content that is later rendered to other users, but exploitation requires a victim to interact with the affected page.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:06:36Z"},"euvd":{"id":"EUVD-2022-0728","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-janeczku-calibre-web-cve-2021-25964","parents":[{"from":"CVE-2021-25965","to":"CVE-2021-4170","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["cps/static/js/edit_books.js"],"commits":["https://github.com/janeczku/calibre-web/commit/50919d47212066c75f03ee7a5332ecf2d584b98e","https://github.com/janeczku/calibre-web/commit/7ad419dc8c12180e842a82118f4866ac3d074bc5"],"basis":"rarely changed file"}]}]}}