{"id":"UBUNTU-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.","modified":"2025-10-24T04:46:38Z","published":"2017-12-29T18:29:00Z","upstream":["CVE-2017-17971"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-17971"},{"type":"REPORT","url":"https://github.com/Dolibarr/dolibarr/issues/8000"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-17971"}],"affected":[{"package":{"name":"dolibarr","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/dolibarr@3.5.8+dfsg1-1ubuntu1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.5.5+dfsg1-2","3.5.7+dfsg1-1","3.5.8+dfsg1-1","3.5.8+dfsg1-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.5.8+dfsg1-1ubuntu1","binary_name":"dolibarr"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-17971.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}