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. Learn more

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 Learn

Learn about Cross-site Scripting vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-DOLIBARRDOLIBARR-7198719
  • published4 Jun 2024
  • disclosed3 Jun 2024
  • creditMarko Winkler, Frank Lucas Wolf

Introduced: 3 Jun 2024

CVE-2024-34051  (opens in a new tab)
CWE-79  (opens in a new tab)

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