{"id":"CVE-2021-25965","published":"2021-11-16T09:15:11Z","modified":"2025-04-30T15:46:00Z","title":"Calibre-web - Admin Account Takeover via Cross-Site Request Forgery (CSRF)","vendor":"calibreweb","product":"calibreweb","tier":"tail","description":{"text":"In Calibre-web, versions 0.6.0 to 0.6.13 are vulnerable to Cross-Site Request Forgery (CSRF). By luring an authenticated user to click on a link, an attacker can create a new user role with admin privileges and attacker-controlled credentials, allowing them to take over the application.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00527,"percentile":0.45513,"provenance":"source"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"references":[{"url":"https://github.com/janeczku/calibre-web/commit/50919d47212066c75f03ee7a5332ecf2d584b98e","tags":["x_refsource_MISC"]},{"url":"https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25965","tags":["x_refsource_MISC"]}],"priority":{"score":15.3,"factors":[{"name":"EPSS percentile","points":9.1},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"calibreweb","affectedVersions":[{"vendor":"calibreweb","product":"calibreweb","versions":[">= 0.6.0, < unspecified",">= unspecified, <= 0.6.13"]}],"solutions":{"items":["Update to 0.6.14"],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-04-30T15:29:26.148130Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-12804","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-janeczku-calibre-web-cve-2021-25964","children":[{"from":"CVE-2021-25965","to":"CVE-2021-3988","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"}]},{"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"}]},{"from":"CVE-2021-25965","to":"CVE-2022-0939","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["cps.py","cps/__init__.py","cps/templates/book_edit.html","cps/templates/book_table.html","cps/templates/detail.html"],"commits":["https://github.com/janeczku/calibre-web/commit/50919d47212066c75f03ee7a5332ecf2d584b98e","https://github.com/janeczku/calibre-web/commit/4545f4a20d9ff90b99bbd4e3e34b6de4441d6367"],"basis":"shared function","functions":["create_app"]}]},{"from":"CVE-2021-25965","to":"CVE-2022-0990","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["cps.py","cps/__init__.py","cps/templates/book_edit.html","cps/templates/book_table.html","cps/templates/detail.html"],"commits":["https://github.com/janeczku/calibre-web/commit/50919d47212066c75f03ee7a5332ecf2d584b98e","https://github.com/janeczku/calibre-web/commit/4545f4a20d9ff90b99bbd4e3e34b6de4441d6367"],"basis":"shared function","functions":["create_app"]}]}]}}