{"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":"2026-06-17T20:15:10.445876258Z","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:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/dolibarr?arch=source&distro=esm-apps-legacy%2Fxenial"},"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","3.5.8+dfsg1-1ubuntu1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"dolibarr","binary_version":"3.5.8+dfsg1-1ubuntu1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-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"},{"type":"Ubuntu","score":"medium"}]}