### [CVE-2017-17971](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17971) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### Description 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. ### POC #### Reference - https://github.com/Dolibarr/dolibarr/issues/8000 #### Github - https://github.com/Snowty/myCVE - https://github.com/emh1tg/CraftCMS-2.6.3000