{"id":"CVE-2017-17971","details":"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.","aliases":["GHSA-qjq9-wx5j-jrg6"],"modified":"2026-04-10T03:58:04.603402Z","published":"2017-12-29T18:29:00.553Z","references":[{"type":"EVIDENCE","url":"https://github.com/Dolibarr/dolibarr/issues/8000"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/dolibarr/dolibarr","events":[{"introduced":"0"},{"last_affected":"44e5566ee58d2e9b7543a669ea4323fb54e59f71"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"6.0.4"}]}}],"versions":["3.3.beta1_20121221","3.4.beta1_20130429","3.4.beta1_20130502","3.5.beta1_20131106","3.5.beta1_20131120","3.6.0","3.6.0-alpha","3.6.0-beta","3.6.1","3.6.2","3.6.beta1_20140514","3.7.0","3.7.1","3.8.0-beta","4.0.0-rc","5.0.0-beta","6.0.0","6.0.0-beta","6.0.0-rc","6.0.1","6.0.2","6.0.3","6.0.4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-17971.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}