{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "6.0.4"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "44e5566ee58d2e9b7543a669ea4323fb54e59f71"
            }
          ],
          "repo": "https://github.com/dolibarr/dolibarr",
          "type": "GIT"
        }
      ]
    }
  ],
  "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.",
  "id": "CVE-2017-17971",
  "modified": "2026-03-13T21:47:19.094642307Z",
  "published": "2017-12-29T18:29:00.553Z",
  "references": [
    {
      "type": "EVIDENCE",
      "url": "https://github.com/Dolibarr/dolibarr/issues/8000"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}