CVE-2023-5323 Cross-site Scripting (XSS) - Generic in dolibarr/dolibarr

Medium 5.4 Published Updated

Attackers can inject malicious scripts into Dolibarr, potentially stealing user sessions or executing code in victim browsers.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-5323?

CVE-2023-5323 is a medium-severity cross-site scripting vulnerability in Dolibarr Dolibarr Erp\/Crm, published on 1 Oct 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Cross-site Scripting (XSS) - Generic in GitHub repository dolibarr/dolibarr prior to 18.0.

Weakness: CWE-79

Which versions are affected by CVE-2023-5323?

3 open source packages ship an affected version, including dolibarr/dolibarr and dolibarr. It affects 1 product.

PackageAffectedFixed in
dolibarr/dolibarr PackagistAll versions18.0.0
dolibarr/dolibarr PackagistAll versions18.0.0
dolibarr BitnamiAll versions18.0.0

Products include Dolibarr Dolibarr Erp\/Crm.

How do I fix CVE-2023-5323?

Upgrade dolibarr/dolibarr to 18.0.0 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2023-5323 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-5323 exists.

All Dolibarr Dolibarr Erp\/Crm vulnerabilities

Sources

Also known as BIT-dolibarr-2023-5323, GHSA-39m3-cj8c-886r, UBUNTU-CVE-2023-5323.

Is CVE-2023-5323 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free