Cross-site Scripting (XSS) Affecting dolibarr/dolibarr package, versions >=0.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.06% (26th percentile)

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 (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-DOLIBARRDOLIBARR-6039294
  • published30 Oct 2023
  • disclosed30 Oct 2023
  • creditblakduk

Introduced: 30 Oct 2023

CVE-2023-5842  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

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 (XSS) via the ticket creation flow. An attacker with administrator privileges can extract the Session ID, which can lead to full Account takeover, by changing the value of the box using an onbeforeinput event.

PoC

<font onbeforeinput="alert('XXX')" contenteditable>test</font>

References

CVSS Scores

version 3.1