block any links from documents not among the trusted locations

Is there a way to automate the enabling of this - block any links from documents not among the trusted locations libreoffice? This is related to CVE-2018-10583 CVE-2018-10583 | LibreOffice - Free Office Suite - Based on OpenOffice - Compatible with Microsoft