Cross-site Scripting Affecting dolibarr/dolibarr package, versions <19.0.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PHP-DOLIBARRDOLIBARR-7198719
  • published 4 Jun 2024
  • disclosed 3 Jun 2024
  • credit Marko Winkler, Frank Lucas Wolf

How to fix?

Upgrade dolibarr/dolibarr to version 19.0.2 or higher.

Overview

dolibarr/dolibarr is a modern and easy to use web software to manage your business.

Affected versions of this package are vulnerable to Cross-site Scripting through the facid parameter. An attacker can execute arbitrary scripts in the context of the interface or access sensitive user information by injecting malicious HTML or JavaScript code.

PoC


https://<url>/compta/paiement/card.php?action=valide&facid=12345--><marquee behavior=alternate loop=2 onbounce=alert(document.location)>XSS</marquee><!--

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
4.6 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    None