{"id":"CVE-2021-4170","aliases":["EUVD-2022-0728","GHSA-wrp6-9w7f-3wxg","PYSEC-2026-620"],"status":"published","title":"Cross-site Scripting (XSS) - Stored in janeczku/calibre-web","description":"calibre-web is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","severity":{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00836,"percentile":0.58151,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2022-01-16T20:55:10Z","modified":"2026-10-20T10:54:02Z","fixes":[{"ecosystem":"PyPI","package":"calibreweb","fixed_in":["0.6.15"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"calibreweb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.15"}]}]},{"source":"osv","ecosystem":"PyPI","package":"calibreweb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.15"}]}],"versions":["0.6.12","0.6.13","0.6.14"]},{"source":"osv","ecosystem":"PyPI","package":"calibreweb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.15"}]}],"versions":["0.6.12","0.6.13","0.6.14"]}],"products":[{"vendor":"janeczku","product":"calibre-web"},{"vendor":"janeczku","product":"janeczku/calibre-web"}],"references":[{"url":"https://huntr.dev/bounties/ff395101-e392-401d-ab4f-579c63fbf6a0","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://github.com/janeczku/calibre-web/commit/7ad419dc8c12180e842a82118f4866ac3d074bc5","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4170","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-wrp6-9w7f-3wxg","tags":["advisory"]},{"url":"https://github.com/janeczku/calibre-web","tags":["web"]},{"url":"https://pypi.org/project/calibreweb","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-4170","title":"Cross-site Scripting (XSS) - Stored in janeczku/calibre-web","description":"calibre-web is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","status":"published","published":"2022-01-16T20:55:10Z","modified":"2024-08-03T17:16:04.234Z","cvss":[{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:33:07.697752Z"}],"euvd":[{"id":"EUVD-2022-0728","description":"calibre-web is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","status":"published","published":"2022-01-16T20:55:10Z","modified":"2024-08-03T17:16:04Z","cvss":[{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-03T03:25:10.418596Z"}],"ghsa":[{"id":"GHSA-wrp6-9w7f-3wxg","title":"calibre-web is vulnerable to Cross-site Scripting","description":"calibre-web is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","status":"published","published":"2022-01-21T23:55:34Z","modified":"2024-11-19T16:15:12Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:38:21.777721Z"}],"nvd":[{"id":"CVE-2021-4170","description":"calibre-web is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","status":"published","published":"2022-01-16T21:15:07.9Z","modified":"2026-06-17T04:19:09.063Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","level":"high","assessor":"secondary"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:03.821385Z"}],"osv":[{"id":"CVE-2021-4170","description":"calibre-web is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","status":"published","published":"2022-01-16T21:15:07.9Z","modified":"2026-10-20T10:54:02.119712886Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:21.557945Z"},{"id":"GHSA-wrp6-9w7f-3wxg","title":"calibre-web is vulnerable to Cross-site Scripting","description":"calibre-web is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","status":"published","published":"2022-01-21T23:55:34Z","modified":"2026-07-06T08:11:13.446574539Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:59.131095Z"},{"id":"PYSEC-2026-620","title":"calibre-web is vulnerable to Cross-site Scripting","description":"calibre-web is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","status":"published","published":"2026-07-02T14:13:14.959672Z","modified":"2026-07-06T08:00:10.396603997Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:52:57.671918Z"}]}}
