LiveActive security incident?Get immediate response
CVE Record

CVE-2017-17971: The test_sql_and_script_inject function in htdocs/main.inc.php in Dolibarr ERP/CRM 6.0.4 blocks some event...

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

Dolibarr ERP/CRM 6.0.4 had an XSS filtering gap: some browser event attributes were blocked, but onclick and onscroll were not. If attackers could get malicious content into affected pages, they might run script in a user’s browser. The sources do not provide a CVSS score, patch version, or evidence of active exploitation.

Executive priority

Treat this as a targeted legacy application risk, not a confirmed emergency. If Dolibarr 6.0.4 is still internet-accessible or business-critical, prioritize upgrade validation and exposure reduction because XSS can affect user sessions and data integrity.

Technical view

The CVE describes incomplete filtering in test_sql_and_script_inject within htdocs/main.inc.php. The function blocked some event attributes but not onclick or onscroll, allowing cross-site scripting. Public metadata is sparse: no CVSS, CWE, CPE, or fixed-version detail is provided in the supplied sources.

Likely exposure

Exposure is most likely limited to deployments running Dolibarr ERP/CRM 6.0.4 where users or attackers can submit content reaching the affected filtering path. The bundle does not substantiate other versions or products.

Exploitation context

The source bundle states the issue allows XSS. It does not state whether exploitation is reflected, stored, authenticated, or unauthenticated. CISA KEV status is false, and no supplied source supports active exploitation.

Researcher notes

The CVE record is thin. It names Dolibarr ERP/CRM 6.0.4 and a specific filtering function, but lacks CVSS, CWE, CPE, authentication context, affected range, fixed version, and exploit status. Avoid broad version claims without vendor confirmation.

Mitigation direction

  • Check Dolibarr guidance and issue 8000 for the fixed release or recommended remediation.
  • Inventory Dolibarr deployments and flag any instance running ERP/CRM 6.0.4.
  • Prioritize upgrade planning if 6.0.4 is still present in production.
  • Reduce exposure of legacy Dolibarr instances until vendor remediation is confirmed.
  • Review application logs for suspicious script-like input in Dolibarr forms.

Validation and detection

  • Confirm the exact Dolibarr version running in each environment.
  • Check whether htdocs/main.inc.php contains the affected test_sql_and_script_inject behavior.
  • Review web-facing Dolibarr routes that accept user-controlled content.
  • Use authorized XSS scanning in staging, avoiding production disruption.
  • Document whether compensating controls already sanitize event attributes upstream.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2017-17971 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.