Kodi 17.1 is vulnerable to local file inclusion vulnerabilities because of insufficient validation of user input.
View the template here CVE-2017-5982.yaml
echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2017/CVE-2017-5982.yaml
References: