The test_sql_and_script_inject 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.
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:dolibarr:dolibarr_erp\\/crm:6.0.4:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.0.4"
},
{
"last_affected": "6.0.4"
}
],
"source": "CPE_STRING"
}
]
}