VYPR
Moderate severityOSV Advisory· Published Mar 7, 2019· Updated Aug 5, 2024

CVE-2018-16808

CVE-2018-16808

Description

Dolibarr through 7.0.0 contains stored XSS in the expense reports module via the comments parameter or public/private notes.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Dolibarr through 7.0.0 contains stored XSS in the expense reports module via the comments parameter or public/private notes.

Vulnerability

Dolibarr versions 3.8.x through 7.0.0 are affected by a stored cross-site scripting (XSS) vulnerability in the expense reports module, specifically in expensereport/card.php. The comments parameter and both public and private note fields fail to sanitize user input, allowing an attacker to inject arbitrary JavaScript code that is stored and later executed when the affected page is viewed [1][2][3].

Exploitation

An attacker must have valid credentials to log into the Dolibarr instance and navigate to the expense reports feature. From there, the attacker can craft a POST request with malicious JavaScript in the comments parameter or in the public/private note fields. The injected script is stored in the database and rendered without encoding when any user (including administrators) views the expense report, triggering the payload in their browser [1][2].

Impact

Successful exploitation results in stored XSS. The attacker can execute arbitrary JavaScript in the context of the victim's session, potentially leading to session hijacking, theft of sensitive data, or further actions within the application as the victim. The impact is limited to actions available to the user whose session is compromised [1][3].

Mitigation

According to the reference issue, the vulnerability was addressed by the vendor in a subsequent release after the disclosure. Users should upgrade to a patched version (later than 7.0.0). No workaround other than upgrading is described in the provided references [1][2].

AI Insight generated on May 22, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
dolibarr/dolibarrPackagist
< 7.0.17.0.1

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

3

News mentions

0

No linked articles in our index yet.