The testsqlandscriptinject function in htdocs/main.inc.php in Dolibarr ERP/CRM 6.0.4 blocks some event attributes but neither onclick nor onscroll, which allows XSS.
{ "versions": [ { "introduced": "0" }, { "last_affected": "6.0.4" } ] }
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-17971.json"