ArchLinux: 201807-3: qutebrowser: arbitrary code execution
Summary
Due to a CSRF vulnerability affecting the qute://settings page, it was possible for websites to modify qutebrowser settings. Via settings like editor.command, this possibly allowed websites to execute arbitrary code.
Resolution
Upgrade to 1.4.1-1.
# pacman -Syu "qutebrowser>=1.4.1-1"
The problem has been fixed upstream in version 1.4.1.
References
https://github.com/qutebrowser/qutebrowser/commit/43e58ac865ff862c2008c510fc5f7627e10b4660 https://github.com/qutebrowser/qutebrowser/issues/4060 https://security.archlinux.org/CVE-2018-10895
Workaround
It's possible to patch out the vulnerable code via a config.py file from qutebrowser.browser import qutescheme qutescheme._qute_settings_set = lambda url: ('text/html', '')