CSRF was discovered in the web UI in Deluge before 1.3.14. The exploitation methodology involves (1) hosting a crafted plugin that executes an arbitrary program from its __init__.py file and (2) causing the victim to download, install, and enable this plugin.
https://security.gentoo.org/glsa/201703-06
https://bugs.debian.org/857903
http://www.securityfocus.com/bid/97041
http://www.debian.org/security/2017/dsa-3856
http://seclists.org/fulldisclosure/2017/Mar/6
http://git.deluge-torrent.org/deluge/commit/?h=develop&id=11e8957deaf0c76fdfbac62d99c8b6c61cfdddf9