{"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-08-07T14:48:59.226224Z","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":"44e5566ee58d2e9b7543a669ea4323fb54e59f71"},{"last_affected":"44e5566ee58d2e9b7543a669ea4323fb54e59f71"}],"database_specific":{"cpe":"cpe:2.3:a:dolibarr:dolibarr_erp\\/crm:6.0.4:*:*:*:*:*:*:*","extracted_events":[{"introduced":"6.0.4"},{"last_affected":"6.0.4"}],"source":"CPE_STRING"}}],"versions":["6.0.4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-17971.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}