Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-17971
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:03 UTC · Revision 1
Source evidence
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.
osv:CVE-2017-17971
Complete source record
{
"id": "530e3dae3f669a8877556fd50198f550e6b8b525acdcfd6b297abbab1e07c92b",
"url": "https://osv.dev/vulnerability/CVE-2017-17971",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-17971",
"summary": "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.",
"evidence": "osv:CVE-2017-17971",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2017-17971",
"aliases": [
"CVE-2017-17971",
"GHSA-qjq9-wx5j-jrg6"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/dolibarr/dolibarr",
"type": "GIT",
"events": [
{
"introduced": "44e5566ee58d2e9b7543a669ea4323fb54e59f71"
},
{
"last_affected": "44e5566ee58d2e9b7543a669ea4323fb54e59f71"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:dolibarr:dolibarr_erp\\/crm:6.0.4:*:*:*:*:*:*:*",
"range": [
{
"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"
}
}
],
"modified": "2026-10-20T10:49:50.786297210Z",
"provider": "osv",
"references": [
"https://github.com/Dolibarr/dolibarr/issues/8000"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-17971",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 380857,
"published_at": "2017-12-29T18:29:00.553+00:00"
}